diff options
Diffstat (limited to 'lib/puppet/indirector/node/plain.rb')
-rw-r--r-- | lib/puppet/indirector/node/plain.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/puppet/indirector/node/plain.rb b/lib/puppet/indirector/node/plain.rb index d60cc3aa5..8058563e6 100644 --- a/lib/puppet/indirector/node/plain.rb +++ b/lib/puppet/indirector/node/plain.rb @@ -16,4 +16,11 @@ class Puppet::Node::Plain < Puppet::Indirector::Plain node.fact_merge node end + + # Use the version of the facts, since we assume that's the main thing + # that changes. If someone wants their own way of defining version, + # they can easily provide their own, um, version of this class. + def version(name) + Puppet::Node::Facts.version(name) + end end |