Merge pull request #22 from dieterdemeyer/master

Fix deprecation warnings
Initialize puppet environment due to upgrade puppet version