Skip to content

Commit

Permalink
Merge pull request #180 from jsuchome/more-nodes
Browse files Browse the repository at this point in the history
upgrade: Describe how to upgrade more nodes with one command.
  • Loading branch information
Jiří Suchomel authored Dec 7, 2018
2 parents 34ceb6f + 9c72511 commit be66106
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/crowbar/client/app/upgrade.rb
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,16 @@ def admin
end

desc "nodes COMPONENT",
"Trigger the node upgrade (all|controllers|NODENAME#{postpone_resume_short})"
"Trigger the node upgrade (all|controllers|NODENAMES#{postpone_resume_short})"

long_desc <<-LONGDESC
`nodes all` will upgrade all nodes.
`nodes controllers` will upgrade all controller nodes.
`nodes NODENAME` will upgrade the node with the NODENAME.
`nodes NODENAMES` will upgrade the nodes identified by NODENAMES.
Nodes' names or aliases can be separated by comma, semicolon or a space
(when separating by spaces, whole string has to be quoted).
This only works for compute nodes.
#{postpone_resume}
Expand Down

0 comments on commit be66106

Please sign in to comment.