We want to expire any cached nodes if the facts are saved.
19 20 21 22
# File 'lib/puppet/node/facts.rb', line 19 def save(instance, key = nil, options={}) Puppet::Node.indirection.expire(instance.name, options) super end