[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5
Paul Berry
paul at puppetlabs.com
Tue May 10 08:02:51 UTC 2011
The following commit has been merged in the experimental branch:
commit 7de6af87109062a4c0b038f2f2d93191e6a93e4f
Author: Paul Berry <paul at puppetlabs.com>
Date: Tue Nov 30 11:59:45 2010 -0800
Maint: Add a default value for key in Facts::NodeExpirer#save
Changed to match the signature of the method being overridden. This
will allow code to call Facts.indirection.save() without a key.
diff --git a/lib/puppet/node/facts.rb b/lib/puppet/node/facts.rb
index fd99adc..451813f 100755
--- a/lib/puppet/node/facts.rb
+++ b/lib/puppet/node/facts.rb
@@ -15,7 +15,7 @@ class Puppet::Node::Facts
# We want to expire any cached nodes if the facts are saved.
module NodeExpirer
- def save(instance, key)
+ def save(instance, key = nil)
Puppet::Node.indirection.expire(instance.name)
super
end
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list