summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
authorLuke Kanies <luke@reductivelabs.com>2010-01-19 17:54:33 -0800
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commit149d5efa667e3f3cdaa3f50347216509392028da (patch)
treeb077e07f931c7c307beccf36bd881d1305afc273 /lib/puppet
parentc30494f15ccaf1c1f15a9fde8b5a46a9adc4894a (diff)
downloadpuppet-149d5efa667e3f3cdaa3f50347216509392028da.tar.gz
puppet-149d5efa667e3f3cdaa3f50347216509392028da.tar.xz
puppet-149d5efa667e3f3cdaa3f50347216509392028da.zip
Fixing some compatibility and old tests
We all know these tests should be removed, but hey, at least these ones pass now. Signed-off-by: Luke Kanies <luke@reductivelabs.com>
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/metatype/manager.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/metatype/manager.rb b/lib/puppet/metatype/manager.rb
index 865a7c296..513c1c710 100644
--- a/lib/puppet/metatype/manager.rb
+++ b/lib/puppet/metatype/manager.rb
@@ -74,7 +74,7 @@ module Manager
Puppet.warning "'new#{name.to_s}' method already exists; skipping"
else
selfobj.send(:define_method, newmethod) do |*args|
- klass.create(*args)
+ klass.new(*args)
end
end