Fix puppet-lint warnings and errors

Fix warning and error messages emitted by puppet-lint.