Merge pull request #1213 from dcarley/puppet_newline_output
Omit empty lines in Puppet provisioner output
This commit is contained in:
commit
13ebf93f24
|
@ -159,7 +159,8 @@ module VagrantPlugins
|
|||
:manifest => @manifest_file)
|
||||
|
||||
env[:machine].communicate.sudo(command) do |type, data|
|
||||
env[:ui].info(data.chomp, :prefix => false)
|
||||
data.chomp!
|
||||
env[:ui].info(data, :prefix => false) if !data.empty?
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -71,7 +71,8 @@ module VagrantPlugins
|
|||
|
||||
env[:ui].info I18n.t("vagrant.provisioners.puppet_server.running_puppetd")
|
||||
env[:vm].channel.sudo(command) do |type, data|
|
||||
env[:ui].info(data.chomp, :prefix => false)
|
||||
data.chomp!
|
||||
env[:ui].info(data, :prefix => false) if !data.empty?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue