From 11b0848b8c6eaaded608f4a485990ddb5bbd5e80 Mon Sep 17 00:00:00 2001 From: Andrew Shafer Date: Thu, 18 Sep 2008 18:48:12 -0600 Subject: Fixed #1500 - puppetrun host regression --- CHANGELOG | 2 ++ bin/puppetrun | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index b2858a939..61e46915a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,6 @@ 0.24.x + Fixed #1500 - puppetrun not working + Fixed #1579 and #1580 - errors in the Puppet RPM spec file Fixed #1572 -- file purging now fails if remote sources do not exist. diff --git a/bin/puppetrun b/bin/puppetrun index f33c7f8a1..28f72d9c3 100755 --- a/bin/puppetrun +++ b/bin/puppetrun @@ -245,7 +245,7 @@ end # Now parse the config Puppet.parse_config -if Puppet[:node_terminus] = "ldap" +if Puppet[:node_terminus] == "ldap" and (options[:all] or classes) if options[:all] hosts = Puppet::Node.search("whatever").collect { |node| node.name } puts "all: %s" % hosts.join(", ") -- cgit