diff options
| author | Paul Berry <paul@puppetlabs.com> | 2010-11-29 14:52:26 -0800 |
|---|---|---|
| committer | Paul Berry <paul@puppetlabs.com> | 2010-11-30 12:03:57 -0800 |
| commit | 3063000155ddc475d1703d10cfc13770f687c3b2 (patch) | |
| tree | 2e362240c15037ddac6e9f5cfbed9dd68b1e0a8d /lib/puppet/node | |
| parent | 29a68730e4157a780f568529fbf32c9907f48731 (diff) | |
| download | puppet-3063000155ddc475d1703d10cfc13770f687c3b2.tar.gz puppet-3063000155ddc475d1703d10cfc13770f687c3b2.tar.xz puppet-3063000155ddc475d1703d10cfc13770f687c3b2.zip | |
Maint: Swap the order of arguments to Indirection#save
The first argument was often nil, and the second was mandatory.
Diffstat (limited to 'lib/puppet/node')
| -rwxr-xr-x | lib/puppet/node/facts.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/node/facts.rb b/lib/puppet/node/facts.rb index 612dc3239..fd99adc3b 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(key, instance) + def save(instance, key) Puppet::Node.indirection.expire(instance.name) super end |
