The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #8356

Feature #8268: Basic Puppet agent support on Windows

Default value of :color should be false on Windows

Added by Josh Cooper over 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:07/11/2011
Priority:NormalDue date:
Assignee:Josh Cooper% Done:

100%

Category:windows
Target version:2.7.4
Affected Puppet version: Branch:
Keywords:windows

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.


Description

Windows console windows do not support ansi escape sequences, so you get garbled output when running puppet:

Z:\work\puppet>puppet config
←[1;35merr: 'config' has no default action.  See `puppet help config`.←[0m

History

#1 Updated by Josh Cooper over 3 years ago

  • Category set to windows
  • Status changed from Unreviewed to Merged - Pending Release
  • Assignee set to Josh Cooper
  • Keywords set to windows

Fixed in master as commit:9774c363c9ce11202f9170bf38028c812527ea76

#2 Updated by Jacob Helwig over 3 years ago

Additional fix for the auto-detection of setting types merged in commit:b1526216d1e47726bae78a884a0db2666101e34a

(#8356) Specify setting type for color

Because we default the color setting to "false" on Microsoft Windows,
the heuristics used to detect which type of setting we're using were
getting confused, and mis-detected color as being a BooleanSetting
rather than just a Setting.

By specifying that color is a "Setting", we can skip the
auto-detection, and avoid this problem entirely.

#3 Updated by Josh Cooper over 3 years ago

  • Target version set to 3.x

Set target version

#4 Updated by Josh Cooper over 3 years ago

  • Target version changed from 3.x to 2.7.x

#5 Updated by Matthaus Owens about 3 years ago

  • Status changed from Merged - Pending Release to Closed
  • Target version changed from 2.7.x to 2.7.4

Released in 2.7.4rc1

#6 Updated by Josh Cooper about 3 years ago

  • % Done changed from 0 to 100

Also available in: Atom PDF