Fix state.highstate run when using salt master

retcode-passthrough option is available only for masterless salt-call.
This commit is contained in:
Jānis Ābele 2014-09-07 20:03:17 +03:00
parent bde0e3fb2a
commit fe16352267
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ module VagrantPlugins
@machine.env.ui.info "Calling state.highstate... (this may take a while)"
if @config.install_master
@machine.communicate.sudo("salt '*' saltutil.sync_all")
@machine.communicate.sudo("salt '*' state.highstate --retcode-passthrough --verbose#{get_loglevel}#{get_colorize}#{get_pillar}") do |type, data|
@machine.communicate.sudo("salt '*' state.highstate --verbose#{get_loglevel}#{get_colorize}#{get_pillar}") do |type, data|
if @config.verbose
@machine.env.ui.info(data)
end