From df340d6cd176f375df94e35ed2efc48b622348f2 Mon Sep 17 00:00:00 2001 From: luke Date: Tue, 13 Jun 2006 20:21:40 +0000 Subject: 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 --- bin/puppetrun | 4 ++-- test/client/master.rb | 2 +- 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 ] [-d|--debug] [-h|--help] [-h|--host ] +# puppet [-c|--class ] [-d|--debug] [-h|--help] [--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 -- cgit