Use --color=false for Puppet no color [GH-2000]

This commit is contained in:
Mitchell Hashimoto 2013-07-28 12:07:48 -07:00
parent aeb1fa7ecb
commit 6c4592ad64
3 changed files with 4 additions and 2 deletions

View File

@ -4,6 +4,8 @@ BUG FIXES:
- On Windows, properly convert synced folder host path to a string
so that separator replacement works properly.
- Use `--color=false` for no color in Puppet to support older
versions properly. [GH-2000]
## 1.2.6 (July 26, 2013)

View File

@ -98,7 +98,7 @@ module VagrantPlugins
end
if !@machine.env.ui.is_a?(Vagrant::UI::Colored)
options << "--no-color"
options << "--color=false"
end
options << "--detailed-exitcodes"

View File

@ -43,7 +43,7 @@ module VagrantPlugins
# Disable colors if we must
if !@machine.env.ui.is_a?(Vagrant::UI::Colored)
options << "--no-color"
options << "--color=false"
end
options = options.join(" ")