summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/type.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/type.rb b/lib/puppet/type.rb
index 0c7266c92..64cfc2540 100644
--- a/lib/puppet/type.rb
+++ b/lib/puppet/type.rb
@@ -1011,7 +1011,7 @@ class Type
end
provider_instances[instance.name] = instance
- create(:name => instance.name, :provider => instance, :check => :all)
+ new(:name => instance.name, :provider => instance, :check => :all)
end
end.flatten.compact
end