Permalink
Browse files

Show status when remotely stopping a node in the cluster

  • Loading branch information...
1 parent 011c80e commit 3f079360f1bbb42f06b99801367fd90520c3eba6 @feist committed Sep 14, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 remote.rb
View
@@ -86,7 +86,9 @@ def cluster_stop(params)
response = send_request_with_token(params[:name], 'cluster_stop', true)
else
puts "Starting Daemons"
- puts `#{PCS} cluster stop`
+ output = `#{PCS} cluster stop`
+ print output
+ return output
end
end

0 comments on commit 3f07936

Please sign in to comment.