Module: Puppet::Node::Facts::NodeExpirer

Defined in:
lib/vendor/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) ⇒ Object



18
19
20
21
# File 'lib/vendor/puppet/node/facts.rb', line 18

def save(instance, key = nil)
  Puppet::Node.indirection.expire(instance.name)
  super
end