From 84408c1682a9c5cb2915c2bc0f1a36510bfe3401 Mon Sep 17 00:00:00 2001 From: Aneesh Agrawal Date: Mon, 2 Nov 2015 20:34:14 -0500 Subject: [PATCH] Enable log_level and colorize for salt masterless --- plugins/provisioners/salt/provisioner.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/provisioners/salt/provisioner.rb b/plugins/provisioners/salt/provisioner.rb index 72365776e..84bf17e7c 100644 --- a/plugins/provisioners/salt/provisioner.rb +++ b/plugins/provisioners/salt/provisioner.rb @@ -329,11 +329,10 @@ module VagrantPlugins def call_masterless @machine.env.ui.info "Calling state.highstate in local mode... (this may take a while)" - cmd = "salt-call state.highstate --local" + cmd = "salt-call state.highstate --local#{get_loglevel}#{get_colorize}#{get_pillar}" if @config.minion_id cmd += " --id #{@config.minion_id}" end - cmd += " -l debug#{get_pillar}" @machine.communicate.sudo(cmd) do |type, data| if @config.verbose @machine.env.ui.info(data)