Uncolorize puppet server output since it does it for us [GH-685]

This commit is contained in:
Mitchell Hashimoto 2012-01-26 09:52:37 -08:00
parent 8d6a33584f
commit 20fa355502
1 changed files with 1 additions and 6 deletions

View File

@ -46,12 +46,7 @@ module Vagrant
env[:ui].info I18n.t("vagrant.provisioners.puppet_server.running_puppetd")
env[:vm].channel.sudo(command) do |type, data|
# Output the data with the proper color based on the stream.
color = type == :stdout ? :green : :red
# Note: Be sure to chomp the data to avoid the newlines that the
# Chef outputs.
env[:ui].info(data.chomp, :color => color, :prefix => false)
env[:ui].info(data.chomp, :prefix => false)
end
end
end