Cleaned up code to be more inline with the Puppet style guide