diff options
Diffstat (limited to 'lib/puppet/node')
-rwxr-xr-x | lib/puppet/node/facts.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/puppet/node/facts.rb b/lib/puppet/node/facts.rb index 2b086afea..0b9fc5879 100755 --- a/lib/puppet/node/facts.rb +++ b/lib/puppet/node/facts.rb @@ -49,6 +49,11 @@ class Puppet::Node::Facts end end + def ==(other) + return false unless self.name == other.name + strip_internal == other.send(:strip_internal) + end + private # Add internal data to the facts for storage. |