[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.6-1-356-g5718585
James Turnbull
james at lovedthanlost.net
Fri Jan 23 14:21:11 UTC 2009
The following commit has been merged in the master branch:
commit 397c8416f78c7a1d081f673dcfe2d70e2d7cee16
Author: James Turnbull <james at lovedthanlost.net>
Date: Fri Oct 3 11:20:23 2008 +1000
Fixed #1628 - Changed node search to use certname rather than Facter hostname
diff --git a/CHANGELOG b/CHANGELOG
index c54a852..1631700 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,6 @@
0.24.x
+ Fixed #1628 - Changed node search to use certname rather than Facter hostname
+
Updated puppet binary documentation
Feature #1624 - Added RBAC roles to solaris user provider
diff --git a/bin/puppet b/bin/puppet
index 142ddd9..9429025 100755
--- a/bin/puppet
+++ b/bin/puppet
@@ -183,11 +183,12 @@ if Puppet[:parseonly]
end
# Collect our facts.
-facts = Puppet::Node::Facts.find("me")
-facts.name = facts.values["hostname"]
+facts = Puppet::Node::Facts.find(Puppet[:certname])
# Find our Node
-node = Puppet::Node.find(facts.name)
+unless node = Puppet::Node.find(Puppet[:certname])
+ raise "Could not find node %s" % Puppet[:certname]
+end
# Merge in the facts.
node.merge(facts.values)
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list