Issue #3301 has been updated by Xavier Delaruelle.

Yes, it is 0.25.4 installed from EPEL packages on a CentOS 5.3 host 
(puppetmasterd is run through passenger 2.2.2).

You can reproduce this with the following site.pp:

<pre>
class notifytest {
    notice("Message")
}

node default {
    include notifytest
}
</pre>

When I apply this manifest with puppetd, I got:
<pre>
[r...@node0 manifests]# puppetd -t --logdest console
info: Caching catalog for node0.domain
info: Applying configuration version '1267776540'
notice: Finished catalog run in 0.23 seconds
[r...@node0 manifests]# tail /var/log/messages 
Mar  5 09:09:00 node0 puppetmasterd[10694]: Starting Puppet server version 
0.25.4
Mar  5 09:09:00 node0 puppetmasterd[10694]: (Scope(Class[notifytest])) Message
Mar  5 09:09:00 node0 puppetmasterd[10694]: Compiled catalog for node0.domain 
in 0.01 seconds
</pre>

----------------------------------------
Bug #3301: puppetd does not display notice() & co messages on the console when 
logdest is set to console
http://projects.reductivelabs.com/issues/3301

Author: Xavier Delaruelle
Status: Needs more information
Priority: Normal
Assigned to: 
Category: error reporting
Target version: 
Affected version: 0.25.4
Keywords: 
Branch: 


Hello,

When using some notice/warning/... statements in some class, it appears that 
puppetd does not print their relative text on the console even if "--logdest 
console" is set. The messages from the notice/warning/... are only put in the 
syslog.

I would like to use notice/warning and co to alert the sysadmin running puppetd 
that some manual action have to be done when a particular resource is updated. 
So having these messages printed on the console when the logdest is set 
accordingly could be useful.

Regards,
Xavier


-- 
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://reductivelabs.com/redmine/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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to