summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-06-13 20:21:40 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-06-13 20:21:40 +0000
commitdf340d6cd176f375df94e35ed2efc48b622348f2 (patch)
treef035ad9e88ed71065ef71f38d06d2f2c043e95f6
parentb4b3c27ff4d0c748c68efd856865dffb65f0ba90 (diff)
downloadpuppet-df340d6cd176f375df94e35ed2efc48b622348f2.tar.gz
puppet-df340d6cd176f375df94e35ed2efc48b622348f2.tar.xz
puppet-df340d6cd176f375df94e35ed2efc48b622348f2.zip
Correcting puppetrun docs and fixing a test so it works with older versions of facter
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1262 980ebf18-57e1-0310-9a29-db15c13687c0
-rwxr-xr-xbin/puppetrun4
-rw-r--r--test/client/master.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/puppetrun b/bin/puppetrun
index d2b3523f5..5556905ec 100755
--- a/bin/puppetrun
+++ b/bin/puppetrun
@@ -7,7 +7,7 @@
#
# = Usage
#
-# puppet [-c|--class <class>] [-d|--debug] [-h|--help] [-h|--host <host>]
+# puppet [-c|--class <class>] [-d|--debug] [-h|--help] [--host <host>]
#
# = Description
#
@@ -63,7 +63,7 @@
#
# = Example
#
-# sudo puppetrun -p 10 -h host1 -h host2 -t remotefile -t webserver
+# sudo puppetrun -p 10 --host host1 --host host2 -t remotefile -t webserver
#
# = Author
#
diff --git a/test/client/master.rb b/test/client/master.rb
index 06590721f..24cc195e6 100644
--- a/test/client/master.rb
+++ b/test/client/master.rb
@@ -119,7 +119,7 @@ class TestMasterClient < Test::Unit::TestCase
# Make sure non-string facts don't make things go kablooie
def test_nonstring_facts
# Add a nonstring fact
- Facter.add(:nonstring) do
+ Facter.add("nonstring") do
setcode { 1 }
end