[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-11-20 Thread tickets

Issue #16728 has been updated by Andrew  Parker.


I've talked with Pieter about the impact of this change. He is fine with making 
the change so long as we don't change the output of the puppet module tool. The 
patch that we whipped up does change the output of that, and so we'll need to 
figure out a way to keep the module tool's current behavior and get the tag 
back for the notice level.

Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-77305

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 3.0.2
Affected Puppet version: 3.0.0
Keywords: ux
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-11-19 Thread tickets

Issue #16728 has been updated by Daniel Pittman.


This change was deliberately and carefully made by our UX team.  We probably 
shouldn't revert it without consulting with them.

Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-76946

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 3.0.2
Affected Puppet version: 3.0.0
Keywords: ux
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-11-19 Thread tickets

Issue #16728 has been updated by konrad rzentarzewski.


what about packaging it as console_27 module?
to give users a choice?
your UX team may live in not in the same world as sysadmins do :)

Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-76947

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 3.0.2
Affected Puppet version: 3.0.0
Keywords: ux
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-11-12 Thread tickets

Issue #16728 has been updated by eric sorenson.

Target version set to 3.0.2



Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-76257

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 3.0.2
Affected Puppet version: 3.0.0
Keywords: ux
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-11-08 Thread tickets

Issue #16728 has been updated by Malcolm Howe.


1. Doesn't matter to me either. I can easily redirect STDERR to STDOUT 

2. Also doesn't matter to me - it's a simple change to my scripts to deal with 
this.

I've tried out your proposed change and it certainly does the job as far as I'm 
concerned. 

Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-76043

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 
Affected Puppet version: 3.0.0
Keywords: ux
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-11-07 Thread tickets

Issue #16728 has been updated by eric sorenson.


Thanks for the feedback, all. A couple more questions as we're outlining all 
the specifics that changed in this and what their effects have been on users...

1. Does it [help/harm/not matter to] you that the output streams are now split, 
with error-ish messages going to STDERR and output-ish messages going to STDOUT?

2. Does it [help/harm/not matter to] you that the prefixes of the messages are 
not the symbol name of the error levels ('emerg', 'err') but instead are 
human-readable with leading caps ('Emergency', 'Error')?

Andy and I worked up a branch that renormalizes the colorization and prefixes 
to 2.7 but there _are_ slight differences as above. We'd be really interested 
in feedback on this --

https://github.com/ahpook/puppet/tree/issue/master/16728-changed-log-output

Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-75965

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 
Affected Puppet version: 3.0.0
Keywords: ux
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-11-07 Thread tickets

Issue #16728 has been updated by konrad rzentarzewski.


1. i think STDERR is for capturing application errors, ie. agent stack traces 
and such. not for log messages - ie. error log message is still log message.

2. i don't think it matters, surely not for me. may vary for people who already 
parse logs with some tools (ie. logstash) to tag log levels approperiately. so: 
should retain original tags, as a cost of backward compatibility.

Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-75966

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 
Affected Puppet version: 3.0.0
Keywords: ux
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-11-07 Thread tickets

Issue #16728 has been updated by Dave Burkholder.


#1  #2 solution proposals do not matter to me.

Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-75967

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 
Affected Puppet version: 3.0.0
Keywords: ux
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-11-07 Thread tickets

Issue #16728 has been updated by Graeme Farmer.


1. Fine with me. Most *nix programs send errors to STDERR (that's what it's 
there for after all). Anyone who is scripting log capture can redirect STDERR 
and merge it with STDOUT, a simple change.

2. Doesn't cause me any problems. Also a trivial update to log parsers, a regex 
covering both old and new formats would easily cover it.

Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-76038

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 
Affected Puppet version: 3.0.0
Keywords: ux
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-11-05 Thread tickets

Issue #16728 has been updated by Dan Bode.


+1 for adding the color back.

Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-75766

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 
Affected Puppet version: 3.0.0
Keywords: ux
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-11-03 Thread tickets

Issue #16728 has been updated by konrad rzentarzewski.


+1 - 2.7 whole line coloring was way easier for the eyes. 

Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-75710

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 
Affected Puppet version: 3.0.0
Keywords: ux
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-11-03 Thread tickets

Issue #16728 has been updated by Eric Shamow.


+1 - would like to see an option for pre-3.0 coloration and notifications in 
output.  New users trying to grapple with the immense amount of output from 
Puppet benefit tremendously from having this visual information.

Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-75716

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 
Affected Puppet version: 3.0.0
Keywords: ux
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-11-02 Thread tickets

Issue #16728 has been updated by eric sorenson.


Talked a bit with Pieter today. There are two areas at issue:

1. there is no code which actually does tty vs non-tty detection and 
re-prepends the notice log levels to the output depending on the device.
2. the messages which should output a prepended level regardless of output 
channel (because 'notice' should only be used for those messages whose prefixes 
would be stripped when headed to a TTY) need to be shifted to use other log 
levels.

A simple revert would break those parts of the system (faces such as `puppet 
module`) which have already shifted to emit unprefixed output.

Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-75703

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 
Affected Puppet version: 3.0.0
Keywords: ux
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-11-01 Thread tickets

Issue #16728 has been updated by Malcolm Howe.


If I'm understanding it correctly then, yes, Pieter van de Bruggen's described 
behaviour would address my problem as in the example I gave it would be 
possible to tell that the diff output was being logged at a notice level, not a 
debug level.

Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-75482

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 
Affected Puppet version: 3.0.0
Keywords: ux
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-10-31 Thread tickets

Issue #16728 has been updated by Justin Lambert.


+1 from me.  The 3.0 output is much harder to scan for what is happening.

Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-75367

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 
Affected Puppet version: 3.0.0
Keywords: 
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-10-31 Thread tickets

Issue #16728 has been updated by J.D. Welch.

Keywords set to ux



Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-75373

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 
Affected Puppet version: 3.0.0
Keywords: ux
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-10-31 Thread tickets

Issue #16728 has been updated by Pieter van de Bruggen.


The original design intent was that non-TTY output (e.g. scripts / pipes) would 
have all of the log level information present as before, and would bypass 
coloring; TTY output would have a standard way of doing completely undecorated 
output, and would have colors that were more friendly to uncustomized 8-color 
terminals.

We avoided adding an additional log level for the undecorated output out of 
deference to the other log destinations, instead co-opting the notice level 
for that, with the expectation that in circumstances where the undecorated 
output was detrimental, the message being logged would be shifted as 
appropriate.

As an open question to the participants of this issue, would this described 
behavior address your problems adequately?

Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-75376

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 
Affected Puppet version: 3.0.0
Keywords: ux
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-10-31 Thread tickets

Issue #16728 has been updated by John Warburton.


To keep the colour escapes out of the logs, we set color = false in the 
client configuration for the reasons described in the change. We have a wrapper 
script that calls puppet agent and if it detects a tty will run the agent with 
--color true so we get the benefit of color discrimination of the (few) 
manual runs we do. This addresses the first point

If we can get the notice level back via a configuration variable, I'd be 
happy with that. I don't want to lose it altogether

Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-75438

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 
Affected Puppet version: 3.0.0
Keywords: ux
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-10-14 Thread tickets

Issue #16728 has been updated by R.I. Pienaar.


+1, the notice tag and coloring is important and should not be removed - 
visually puppet  3 was easier to read and follow especially with lots of output

Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-73487

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 
Affected Puppet version: 3.0.0
Keywords: 
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-10-13 Thread tickets

Issue #16728 has been updated by Graeme Farmer.


Malcom's issue is certainly more compelling, however I do find that the removal 
of the notice tag and the removal of color highlighting results in console 
output that is far more visually overwhelming.

Previously, it was easy to pick out the lines of output where resource change 
notifications occur amongst the Info lines representing custom fact loading and 
various other safe output messages. 

Maybe I'm just getting old and my ocular parser needs updating!!

I patched util/log/destinations.rb on one of my test systems to add blue notice 
tags (to avoid conflict with the debug tag which is now using cyan) and it 
certainly helps separate the notice lines from either info lines or 
continuations.

Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-73486

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 
Affected Puppet version: 3.0.0
Keywords: 
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #16728] puppet agent --verbose has lost notice tag

2012-10-05 Thread tickets

Issue #16728 has been updated by Malcolm Howe.


We do some scripted analysis of the output for reporting purposes. Previously 
every line was either tagged or was effectively a continuation from the 
previously seen tag so you could easily determine the level it was logged at. 
The problem with the current output is that you can't tell whether a line is a 
continuation at the previous level, or a new message at notice level. For 
example, in the example I gave, our analysis script now considers the untagged 
output to be at debug level, rather than notice, as there is nothing to tell it 
differently.

Bug #16728: puppet agent --verbose has lost notice tag
https://projects.puppetlabs.com/issues/16728#change-72755

Author: Malcolm Howe
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: agent
Target version: 
Affected Puppet version: 3.0.0
Keywords: 
Branch: 


In puppet 2.7 lines output from puppet agent --verbose start with a level tag 
such as debug, notice, info, warning, err with the exception of lines that 
could be considered as continuation lines. In puppet 3.0 these have become 
capitalized (Debug, Info etc) and the range of the colouring has changed which 
are fine but notice has disappeared. Example:

Puppet 2.7

^[[0;37mdebug: /File[/usr/local/admin/etc/cronjobs]/content: Executing 
'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-21437-1039k7-0'^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
^[[0m
^[[0;36mnotice: /File[/usr/local/admin/etc/cronjobs]/content: content 
changed '{md5}bab2e7212b6dbf31a4aa24d80af20dff' to 
'{md5}7a959b40ab3403d747fe953c1855343d'^[[0m

puppet 3.0.0

^[[0;36mDebug^[[0m: Executing 'diff /usr/local/admin/etc/cronjobs 
/tmp/puppet-file20121003-18288-1q7segx-0'
/File[/usr/local/admin/etc/cronjobs]/content:
394c394
 On OX_HFS_DD At 07:31
---
 On OX_HFS_DD At 07:30
/File[/usr/local/admin/etc/cronjobs]/content: content changed 
'{md5}d89edc6045aa721fba77ec0f54c8c2d2' to 
'{md5}101441e8bf893cce06ccb87983626b8b'


This is a nuisance when trying to analyse the output with a script.

I am, of course, assuming it isn't an intentional change. If not I'm reporting 
it as a bug.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Bugs group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.