Add support for puppet3 (maintain compatibility)

props to this post for helping solve it.
http://nanliu.github.io/blog/2013/02/08/migrating-to-puppet-3-dot-x/