Fix puppet lint warnings and error