summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2008-06-17 09:43:45 +1000
committerJames Turnbull <james@lovedthanlost.net>2008-06-17 09:43:45 +1000
commit9c1ab147b3570003bb7907d8a0cadca52869f4bd (patch)
treef71c401552c1ce6d417433b3935d8a26f839a5e3
parent7b569fb6e191a8d04b5ec5431b690d6d735c8582 (diff)
downloadpuppet-9c1ab147b3570003bb7907d8a0cadca52869f4bd.tar.gz
puppet-9c1ab147b3570003bb7907d8a0cadca52869f4bd.tar.xz
puppet-9c1ab147b3570003bb7907d8a0cadca52869f4bd.zip
Fixed #1371 - Updated bin/puppet to use Node.find
-rwxr-xr-xbin/puppet2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/puppet b/bin/puppet
index 23b175087..5e10ad460 100755
--- a/bin/puppet
+++ b/bin/puppet
@@ -187,7 +187,7 @@ facts = Puppet::Node::Facts.find("me")
facts.name = facts.values["hostname"]
# Find our Node
-node = Puppet::Node.find_by_any_name(facts.name)
+node = Puppet::Node.find(facts.name)
# Merge in the facts.
node.merge(facts.values)