A trivial post, perhaps, but I liked the console coloring of 2.7 much better than 3.0. Is there a way to get the 2.7 coloring back or to customize the console color scheme? TIA, Dave -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/4bXHMLuqsJ8J. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Wed, Oct 31, 2012 at 10:37 AM, thinkwell <thinkwelldesigns@gmail.com>wrote:> A trivial post, perhaps, but I liked the console coloring of 2.7 much > better than 3.0. Is there a way to get the 2.7 coloring back or to > customize the console color scheme? >It''s possible, but not exactly easy. For a time, the new format was only available using the log destination "telly_prototype_console" with something like this in puppet.conf: [main] logdest = telly_prototype_console However, in commit 537343d we replaced the default destination named "console" with the telly console. Unfortunately, we didn''t leave the old destination in place as an option, but I''m not sure if we could have. If this really bothers you, you might be able to create a new destination using: Puppet::Util::Log.newdesttype :puppet27_console do ... end You can see the Puppet 2.7.19 console formatter here: https://github.com/puppetlabs/puppet/blob/2.7.19/lib/puppet/util/log/destinations.rb#L88-104 -Jeff -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hi Dave, On Wed, Oct 31, 2012 at 10:37 AM, thinkwell <thinkwelldesigns@gmail.com> wrote:> A trivial post, perhaps, but I liked the console coloring of 2.7 much better > than 3.0. Is there a way to get the 2.7 coloring back or to customize the > console color scheme? > > TIA, > > Dave > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/4bXHMLuqsJ8J. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en.Others feel the same way: http://projects.puppetlabs.com/issues/16728. Please add yourself as a watcher and comment on the ticket. Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Josh, thanks for that ticket link. I''ve signed up as a watcher. Jeff, I''ve added the puppet27_console code to a client machine, then added the lines below to its puppet.conf, but no luck. Coloring remains the 3.0 version. Is that possible? Or did I do something wrong? [main] logdest = telly_prototype_console On Wednesday, October 31, 2012 1:55:19 PM UTC-4, Jeff McCune wrote:> > On Wed, Oct 31, 2012 at 10:37 AM, thinkwell <thinkwel...@gmail.com<javascript:> > > wrote: > >> A trivial post, perhaps, but I liked the console coloring of 2.7 much >> better than 3.0. Is there a way to get the 2.7 coloring back or to >> customize the console color scheme? >> > > It''s possible, but not exactly easy. For a time, the new format was only > available using the log destination "telly_prototype_console" with > something like this in puppet.conf: > > [main] > logdest = telly_prototype_console > > However, in commit 537343d we replaced the default destination named > "console" with the telly console. Unfortunately, we didn''t leave the old > destination in place as an option, but I''m not sure if we could have. > > If this really bothers you, you might be able to create a new destination > using: > > Puppet::Util::Log.newdesttype :puppet27_console do > ... > end > > You can see the Puppet 2.7.19 console formatter here: > > https://github.com/puppetlabs/puppet/blob/2.7.19/lib/puppet/util/log/destinations.rb#L88-104 > > -Jeff >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/pDFpaqB_IYsJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Josh, thanks for that ticket link. I''ve signed up as a watcher. Jeff, I''ve added the puppet27_console code to a client machine, then added the lines below to its puppet.conf, but no luck. Coloring remains the 3.0 version. Is that possible? Or did I do something wrong? [main] logdest = puppet27_console On Wednesday, October 31, 2012 1:55:19 PM UTC-4, Jeff McCune wrote:> > On Wed, Oct 31, 2012 at 10:37 AM, thinkwell <thinkwel...@gmail.com<javascript:> > > wrote: > >> A trivial post, perhaps, but I liked the console coloring of 2.7 much >> better than 3.0. Is there a way to get the 2.7 coloring back or to >> customize the console color scheme? >> > > It''s possible, but not exactly easy. For a time, the new format was only > available using the log destination "telly_prototype_console" with > something like this in puppet.conf: > > [main] > logdest = telly_prototype_console > > However, in commit 537343d we replaced the default destination named > "console" with the telly console. Unfortunately, we didn''t leave the old > destination in place as an option, but I''m not sure if we could have. > > If this really bothers you, you might be able to create a new destination > using: > > Puppet::Util::Log.newdesttype :puppet27_console do > ... > end > > You can see the Puppet 2.7.19 console formatter here: > > https://github.com/puppetlabs/puppet/blob/2.7.19/lib/puppet/util/log/destinations.rb#L88-104 > > -Jeff >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/kMbNEefYMEEJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Wed, Oct 31, 2012 at 12:24 PM, thinkwell <thinkwelldesigns@gmail.com>wrote:> Josh, thanks for that ticket link. I''ve signed up as a watcher. > > Jeff, I''ve added the puppet27_console code to a client machine, then added > the lines below to its puppet.conf, but no luck. Coloring remains the 3.0 > version. Is that possible? Or did I do something wrong? >I''m not sure this will work even if you did everything perfectly, so I think this way lies madness. Unless you''re up for the challenging of hacking at the internals of Puppet, I think this is a bad road to go down. If you''d like to keep trying though, please post the changes you made as a patch or into a topic branch on Github and we can continue the discussion on the puppet-dev mailing list or irc channel. -Jeff -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
I''m not a ruby programmer and the puppet internals will remain a wilderness to me for the near future. So I''ll have to content myself with watching the ticket and waiting for the final solution. Thanks alot for your ideas, though. On Wednesday, October 31, 2012 7:45:54 PM UTC-4, Jeff McCune wrote:> > On Wed, Oct 31, 2012 at 12:24 PM, thinkwell <thinkwel...@gmail.com<javascript:> > > wrote: > >> Josh, thanks for that ticket link. I''ve signed up as a watcher. >> >> Jeff, I''ve added the puppet27_console code to a client machine, then >> added the lines below to its puppet.conf, but no luck. Coloring remains the >> 3.0 version. Is that possible? Or did I do something wrong? >> > > I''m not sure this will work even if you did everything perfectly, so I > think this way lies madness. Unless you''re up for the challenging of > hacking at the internals of Puppet, I think this is a bad road to go down. > > If you''d like to keep trying though, please post the changes you made as a > patch or into a topic branch on Github and we can continue the discussion > on the puppet-dev mailing list or irc channel. > > -Jeff >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/nN1oQ-VlO7oJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Don''t know may be it someone be useful I have prepared a patch that returns the old puppet 2.7 color style (patch in attach) just run from <puppet_gem>/lib/puppet/util/log location for me it''s a /var/lib/gems/1.8/gems/puppet-3.0.1/lib/puppet/util/log: patch -p1 < ./destinations_oldStyleColor.patch and enjoy :) среда, 31 октября 2012 г., 19:37:56 UTC+2 пользователь thinkwell написал:> > A trivial post, perhaps, but I liked the console coloring of 2.7 much > better than 3.0. Is there a way to get the 2.7 coloring back or to > customize the console color scheme? > > TIA, > > Dave >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/xji-WPopZdAJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.