-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lost Puppet colors #685
Comments
You're right, marked as a bug. |
Fixed |
[vagrant-0.9.4:linux] This still doesn't quite work for me. The puppet provisioner output is apparently filtered by the calls to remove_ansi_escape_codes in lib/vagrant/communication/ssh.rb and thus all puppet info/notice/warning/err output is green. While the escape codes are quite distracting on a non-colorized console they are useful (even needed) otherwise. IMO this should be configurable (there should be a disable_ansi_codes option to control what you are currently mandating). I tried to work on this in my fork but don't feel to confident where that config attribute should live. Any suggestions? |
Its not the goal of |
I'm running 0.9.4 (not from git) now.. should I be seeing the puppet colors fixed? Everything is still "all green". Thanks! On Jan 30, 2012, at 10:49 AM, Mitchell Hashimoto wrote:
|
Well, this commit is in 0.9.4 (it appears): 20fa355 However, there may be more issues that have cropped up since then. I may be stripping out colors still accidentally with my |
It works, thank you! Looks dandy! I noticed 2 small things, they don't bother me, but I'll list them for completeness:
Cheers, On Feb 5, 2012, at 4:31 AM, Mitchell Hashimoto wrote:
|
@jshuping I'd consider #1 a bug. #2 is as intended, since the Can you open a new bug for #1? |
I'm guessing this is related to the recent change around ANSI colors and SSH output. Puppet provides its own coloration of its output to indicate status. In previous Vagrant, it was normal puppet colors. In the newest head, 0.9.3.1, the colors are all green:
[default] Running Puppet with /tmp/vagrant-puppet/manifests/base.pp...
stdin: is not a tty
warning: Could not retrieve fact fqdn
^^^ warnings used to be yellow, are green now
notice: /Stage[init]/Packaging/Exec[apt-configure]/returns: executed successfully
^^^ success used to be light blue, is green now
err: /Stage[services]/Services/Service[supervisor]: Failed to call refresh:
^^^ puppet errors used to be magenta, is green now.
I know this will be low priority, but the puppet colorization is very very handy for knowing if provisioning worked.
Thanks!
The text was updated successfully, but these errors were encountered: