Refactoring and using puppet resources instead of shell script
Merge pull request #22 from mcanevet/use_puppet_resources

Use puppet resources