summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-12-29 17:28:40 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-12-29 17:28:40 +0000
commit01660045b77bb6b8e310cfd948ca50161348c748 (patch)
tree19699e4338e86b677c2128fc4826224b12f354e3 /bin
parentf52e2d006fb3ae8f0b3f58deac8f4287708bdb7b (diff)
downloadpuppet-01660045b77bb6b8e310cfd948ca50161348c748.tar.gz
Adding carriage returns to output of puppetrun
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1990 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'bin')
-rwxr-xr-xbin/puppetrun6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/puppetrun b/bin/puppetrun
index 4c438ee8b..44f39f558 100755
--- a/bin/puppetrun
+++ b/bin/puppetrun
@@ -344,17 +344,17 @@ while go
begin
result = client.run(tags, options[:ignoreschedules], options[:foreground])
rescue => detail
- $stderr.print "Host %s failed: %s\n" % [host, detail]
+ $stderr.puts "Host %s failed: %s\n" % [host, detail]
exit(2)
end
case result
when "success": exit(0)
when "running":
- $stderr.print "Host %s is already running" % host
+ $stderr.puts "Host %s is already running" % host
exit(3)
else
- $stderr.print "Host %s returned unknown answer '%s'" % [host, result]
+ $stderr.puts "Host %s returned unknown answer '%s'" % [host, result]
exit(12)
end
end