Removed various puppet-lint warnings and fixed a typo