Resolve deprecation warnings of puppet 3.2