summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/puppetrun2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/puppetrun b/bin/puppetrun
index 5f99d6325..fe981dadf 100755
--- a/bin/puppetrun
+++ b/bin/puppetrun
@@ -281,7 +281,7 @@ if File.exists? config
Puppet.settings.parse(config)
end
-if Puppet[:ldapnodes]
+if Puppet[:node_terminus] = "ldap"
if options[:all]
hosts = ldapnodes(:all, options[:fqdn])
puts "all: %s" % hosts.join(", ")