Fix puppet-lint errors and warnings

Fix error and warning messages emitted by puppet-lint.