Is there any "correct" way to get puppetmasterd to not spam syslog with (mount[blah]) File source foo does not exist messages when using file source selection lists? I use them quite extensively, so it''s getting quite out of hand. The last resort will be to comment out the offending print statement! -- Russell A. Jackson <raj@csub.edu> Network Analyst California State University, Bakersfield Basic is a high level languish. APL is a high level anguish. _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Sep 17, 2007, at 3:56 PM, Russell Jackson wrote:> Is there any "correct" way to get puppetmasterd to not spam syslog > with (mount[blah]) File > source foo does not exist messages when using file source selection > lists? I use them > quite extensively, so it''s getting quite out of hand. The last > resort will be to comment > out the offending print statement!Doesn''t that message only appear on ''info'' level? If so, you shouldn''t even see it unless you''re running in verbose mode. -- Ours is the age that is proud of machines that think and suspicious of men who try to. -- H. Mumford Jones --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
Luke Kanies wrote:> On Sep 17, 2007, at 3:56 PM, Russell Jackson wrote: > >> Is there any "correct" way to get puppetmasterd to not spam syslog >> with (mount[blah]) File >> source foo does not exist messages when using file source selection >> lists? I use them >> quite extensively, so it''s getting quite out of hand. The last >> resort will be to comment >> out the offending print statement!I of course meant syslog call ;-)> > Doesn''t that message only appear on ''info'' level? If so, you > shouldn''t even see it unless you''re running in verbose mode. >By ''info'' level do you mean syslog level? It shows up with an syslog filter of ''*.notice;authpriv.none;kern.debug'', and I didn''t know it was possible to run puppetmasterd in verbose mode as a daemon. Is this controllable with the loglevel meta-resource parameter? My thought was that it would only control what was logged on the client side, but I haven''t tried it. -- Russell A. Jackson <raj@csub.edu> Network Analyst California State University, Bakersfield Smartness runs in my family. When I went to school I was so smart my teacher was in my class for five years. -- George Burns _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Sep 18, 2007, at 12:51 PM, Russell Jackson wrote:> By ''info'' level do you mean syslog level? It shows up with an > syslog filter of > ''*.notice;authpriv.none;kern.debug'', and I didn''t know it was > possible to run > puppetmasterd in verbose mode as a daemon.Yeah, it should be the syslog info log level.> Is this controllable with the loglevel meta-resource parameter? My > thought was that it > would only control what was logged on the client side, but I > haven''t tried it.No, it''s not. That only affects individual resources, not the server''s logging. I can''t seem to find the specific message you''re talking about. Can you paste some exact messages? -- Hoare''s Law of Large Problems: Inside every large problem is a small problem struggling to get out. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
Luke Kanies wrote:> On Sep 18, 2007, at 12:51 PM, Russell Jackson wrote: > >> By ''info'' level do you mean syslog level? It shows up with an >> syslog filter of >> ''*.notice;authpriv.none;kern.debug'', and I didn''t know it was >> possible to run >> puppetmasterd in verbose mode as a daemon. > > Yeah, it should be the syslog info log level. > >> Is this controllable with the loglevel meta-resource parameter? My >> thought was that it >> would only control what was logged on the client side, but I >> haven''t tried it. > > No, it''s not. That only affects individual resources, not the > server''s logging. > > I can''t seem to find the specific message you''re talking about. Can > you paste some exact messages? >Sep 23 22:43:24 svn puppetmasterd[1584]: (mount[#<Puppet::Module:0x8795330>]) File source /usr/local/etc/puppet/modules/ntp/files/imap.conf does not exist Sep 23 22:43:25 svn puppetmasterd[1584]: (mount[#<Puppet::Module:0x90fb604>]) File source /usr/local/etc/puppet/modules/sendmail/files/imap/aliases does not exist Sep 23 22:43:25 svn puppetmasterd[1584]: (mount[#<Puppet::Module:0x90ed70c>]) File source /usr/local/etc/puppet/modules/sendmail/files/imap.aliases does not exist Sep 23 22:51:38 svn puppetmasterd[1584]: (mount[#<Puppet::Module:0x8e73e90>]) File source /usr/local/etc/puppet/modules/ntp/files/mh1.conf does not exist Sep 23 22:56:11 svn puppetmasterd[1584]: (mount[#<Puppet::Module:0x8e36068>]) File source /usr/local/etc/puppet/modules/ntp/files/mh0.conf does not exist Sep 23 22:59:20 svn puppetmasterd[1584]: (mount[#<Puppet::Module:0x844a5b8>]) File source /usr/local/etc/puppet/modules/ntp/files/vcs.conf does not exist Sep 23 23:02:46 svn puppetmasterd[1584]: (mount[#<Puppet::Module:0x8f11500>]) File source /usr/local/etc/puppet/modules/ntp/files/ns1.conf does not exist Sep 23 23:03:29 svn puppetmasterd[1584]: (mount[#<Puppet::Module:0x8e45dc4>]) File source /usr/local/etc/puppet/modules/ntp/files/ns0.conf does not exist Sep 23 23:04:22 svn puppetmasterd[1584]: (mount[#<Puppet::Module:0x8e1e878>]) File source /usr/local/etc/puppet/modules/ntp/files/fbsd.conf does not exist Happens with a file resource like: file { "/etc/ntp.conf": . . . source => ["puppet:///ntp/${hostname}.conf", "puppet:///ntp/ntp.conf"] } I don''t remember if it did this pre-module or not. -- Russell A. Jackson <raj@csub.edu> Network Analyst California State University, Bakersfield Bad men live that they may eat and drink, whereas good men eat and drink that they may live. -- Socrates
On Sep 24, 2007, at 1:35 AM, Russell Jackson wrote:> Sep 23 22:43:24 svn puppetmasterd[1584]: (mount[#<Puppet::Module: > 0x8795330>]) File source > /usr/local/etc/puppet/modules/ntp/files/imap.conf does not existOkay, I found the message and demoted it to debug. -- I have a switch in my apartment... It doesn''t do anything. Every once in a while, I turn it on and off. One day I got a call... It was from a woman in France... She said, "Cut it out!" -- Stephen Wright --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
Luke Kanies wrote:> On Sep 24, 2007, at 1:35 AM, Russell Jackson wrote: > >> Sep 23 22:43:24 svn puppetmasterd[1584]: (mount[#<Puppet::Module: >> 0x8795330>]) File source >> /usr/local/etc/puppet/modules/ntp/files/imap.conf does not exist > > Okay, I found the message and demoted it to debug. >Awesome. Could I get a link to the changeset? -- Russell A. Jackson <raj@csub.edu> Network Analyst California State University, Bakersfield The problem that we thought was a problem was, indeed, a problem, but not the problem we thought was the problem. -- Mike Smith _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Sep 25, 2007, at 6:52 PM, Russell Jackson wrote:> > Awesome. Could I get a link to the changeset?http://reductivelabs.com/trac/puppet/changeset/ ffaa8ce07979f4db860950fa9be08ca37964206f -- Be wary of the man who urges an action in which he himself incurs no risk. -- Joaquin Setanti --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com