diff options
author | Jesse Wolfe <jes5199@gmail.com> | 2010-03-29 17:10:40 -0700 |
---|---|---|
committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
commit | 23ccefe0e8b51af19a0283c0d8eb3de09b6e4c31 (patch) | |
tree | f5a13141985b8956987b0aad3f84269be7902243 /lib/puppet/node | |
parent | d8e1b272ec321d5f86558672252de60983751a15 (diff) | |
download | puppet-23ccefe0e8b51af19a0283c0d8eb3de09b6e4c31.tar.gz puppet-23ccefe0e8b51af19a0283c0d8eb3de09b6e4c31.tar.xz puppet-23ccefe0e8b51af19a0283c0d8eb3de09b6e4c31.zip |
REST: hide Request object
This change to the REST branch restores some sanity by explicitly
allowing a destination URL for indirector save() calls,
removing a hack that I was using to accomplish this.
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 dca435c7d..ed7fe1253 100755 --- a/lib/puppet/node/facts.rb +++ b/lib/puppet/node/facts.rb @@ -10,7 +10,7 @@ class Puppet::Node::Facts # We want to expire any cached nodes if the facts are saved. module NodeExpirer - def save(instance, *args) + def save(key, instance) Puppet::Node.expire(instance.name) super end |