Addd check for puppet version
Updated to version 0.5.0