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(key, instance) ⇒ Object



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

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