Merge pull request #718 from mephaust/master

Restore stand-alone puppet colors
This commit is contained in:
Mitchell Hashimoto 2012-02-07 15:03:42 -08:00
commit 63bd380778
1 changed files with 1 additions and 6 deletions

View File

@ -146,12 +146,7 @@ module Vagrant
:manifest => @manifest_file)
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