make puppet-lint happy

puppet-lint showed various syntax warnings that were fixed with this commit