diff options
author | Luke Kanies <luke@madstop.com> | 2009-04-12 22:55:39 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2009-04-12 22:55:39 -0500 |
commit | 36594fecd8e30f732f09bc940adbb4c686e314ba (patch) | |
tree | 7d157125393839d0f9e08fd6cf090f64df6ec08d /lib/puppet | |
parent | edcbab5d046326cfbc69fdffafdaba033a125da8 (diff) | |
download | puppet-36594fecd8e30f732f09bc940adbb4c686e314ba.tar.gz puppet-36594fecd8e30f732f09bc940adbb4c686e314ba.tar.xz puppet-36594fecd8e30f732f09bc940adbb4c686e314ba.zip |
Switching to new() in the Puppet::Type.instances() class method
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/type.rb | 2 |
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 |