lib/gaptool_client/commands.rb in gaptool-client-0.8.1 vs lib/gaptool_client/commands.rb in gaptool-client-0.8.2
- old
+ new
@@ -353,10 +353,10 @@
command = 'sudo gtrunchef -j /tmp/chef.json'
command = "#{command} -v" if verbose?
command = "#{command} -b #{branch}" if branch
command = "#{command} -M" if migrate?
command = "#{command} -R" if rollback?
- command = "#{commnad} -B #{chef_branch}" if chef_branch
+ command = "#{command} -B #{chef_branch}" if chef_branch
res = Gaptool::SSH.exec(
nodes, [command],
pre_hooks: [pre_hook], serial: serial?, continue_on_errors: continue_on_errors?,
batch_size: batch_size