summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/node.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/node.rb b/lib/puppet/node.rb
index 14d0f6ac7..afa18f565 100644
--- a/lib/puppet/node.rb
+++ b/lib/puppet/node.rb
@@ -75,6 +75,8 @@ class Puppet::Node
def fact_merge
if facts = Puppet::Node::Facts.find(name)
merge(facts.values)
+ else
+ Puppet.warning "Could not find facts for %s; you probably have a discrepancy between the node and fact names" % name
end
end