provisioners/puppet: make the output a bit clearer

This commit is contained in:
Mitchell Hashimoto 2013-11-25 15:18:35 -08:00
parent e72cd9c98e
commit 4a3259443d
1 changed files with 1 additions and 2 deletions

View File

@ -67,8 +67,6 @@ module VagrantPlugins
options << "--color=false"
end
options = options.join(" ")
# Build up the custom facts if we have any
facter = ""
if !config.facter.empty?
@ -80,6 +78,7 @@ module VagrantPlugins
facter = "#{facts.join(" ")} "
end
options = options.join(" ")
command = "#{facter}puppet agent #{options} --server " +
"#{config.puppet_server} --detailed-exitcodes || [ $? -eq 2 ]"