summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-06-26 19:19:06 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-06-26 19:19:06 +0000
commit31c17e47607bdebf8e2591a98e9fd6f862d3852a (patch)
treeeab10268ec5bafb14112a2037e8f298bdd7c87e0
parentfaab17ba0dc356101712ccc85a1c07d679d31828 (diff)
Adding more docs to puppetrun, and fixing bug that can cause hosts to get skipped
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1312 980ebf18-57e1-0310-9a29-db15c13687c0
-rwxr-xr-xbin/puppetrun10
1 files changed, 8 insertions, 2 deletions
diff --git a/bin/puppetrun b/bin/puppetrun
index 87d8deb74..96f016f89 100755
--- a/bin/puppetrun
+++ b/bin/puppetrun
@@ -7,8 +7,9 @@
#
# = Usage
#
-# puppetrun [-a|--all] [-c|--class <class>] [-d|--debug] [-h|--help]
-# [--host <host>] [--no-fqdn]
+# puppetrun [-a|--all] [-c|--class <class>] [-d|--debug] [-f|--foreground]
+# [-h|--help] [--host <host>] [--no-fqdn] [--ignoreschedules]
+# [-t|--tag <tag>] [--test]
#
# = Description
#
@@ -93,6 +94,9 @@
# How parallel to make the connections. Parallelization is provided by forking
# for each client to which to connect. The default is 1, meaning serial execution.
#
+# tag::
+# Specify a tag for selecting the objects to apply.
+#
# test::
# Print the hosts you would connect to but do not actually connect.
#
@@ -357,6 +361,8 @@ while go
end
rescue Errno::ECHILD
# There are no children left, so just exit.
+ next unless todo.empty?
+
if failures.empty?
puts "Finished"
exit(0)