Module: Puppet::Node::Facts::NodeExpirer
- Defined in:
- lib/puppet/node/facts.rb
Overview
We want to expire any cached nodes if the facts are saved.
Instance Method Summary collapse
Instance Method Details
#save(instance, key = nil, options = {}) ⇒ Object
20 21 22 23 |
# File 'lib/puppet/node/facts.rb', line 20 def save(instance, key = nil, = {}) Puppet::Node.indirection.expire(instance.name, ) super end |