Re: [Puppet Users] Puppet smoking crack?
On 09/05/2012 11:04 PM, Douglas Garstang wrote: file { '/var/lib/nagios3/rw': owner = 'nagios', group = 'www-data', mode = '0750'; } The fifo file is IN the rw directory Perhaps an errant File { recurse = true } or similar somewhere above in this scope (meaning: in this class or any classes that directly or indirectly include it)? -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Puppet smoking crack?
On Wed, Sep 05, 2012 at 03:01:42PM -0700, Douglas Garstang wrote: On Wed, Sep 5, 2012 at 2:23 PM, Christopher Wood christopher_w...@pobox.com wrote: (inline) On Wed, Sep 05, 2012 at 02:04:59PM -0700, Douglas Garstang wrote: Couple of questions. Firstly, what's the plugin error about? puppet agent --onetime --test --verbose Could you also try with --debug? I could. What are we looking for? info: Retrieving plugin err: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve information from source(s) puppet://puppet/plugins Worth looking into your pluginsync config here. I have on the client 'pluginsync = true' in the [main] section. Do you have any plugins on your server side? If not you are hitting a bug that will be fixed in 3.0.0 http://projects.puppetlabs.com/issues/2244 -Stefan -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Puppet smoking crack?
Couple of questions. Firstly, what's the plugin error about? puppet agent --onetime --test --verbose info: Retrieving plugin err: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve information from source(s) puppet://puppet/plugins info: Caching catalog for mon01.ap1.xxx.com info: Applying configuration version '1346878830' err: /Stage[main]/Xxx::Nagios::Server/File[/var/lib/nagios3]: Failed to generate additional resources using 'eval_generate': Cannot manage files of type fifo notice: Finished catalog run in 3.63 seconds Secondly, I think puppet is smoking crack. Why is it telling me that it can't manage files of type fifo when that is not what the manifest has? The manifest has: file { '/var/lib/nagios3/rw': owner = 'nagios', group = 'www-data', mode = '0750'; } The fifo file is IN the rw directory Doug. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Puppet smoking crack?
On Wed, Sep 5, 2012 at 2:23 PM, Christopher Wood christopher_w...@pobox.com wrote: (inline) On Wed, Sep 05, 2012 at 02:04:59PM -0700, Douglas Garstang wrote: Couple of questions. Firstly, what's the plugin error about? puppet agent --onetime --test --verbose Could you also try with --debug? I could. What are we looking for? info: Retrieving plugin err: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve information from source(s) puppet://puppet/plugins Worth looking into your pluginsync config here. I have on the client 'pluginsync = true' in the [main] section. info: Caching catalog for mon01.ap1.xxx.com info: Applying configuration version '1346878830' err: /Stage[main]/Xxx::Nagios::Server/File[/var/lib/nagios3]: Failed Do you have a declaration /var/lib/nagios3? What does that say? Nope. The manifest only has: file { '/var/lib/nagios3/rw': owner = 'nagios', group = 'www-data', mode = '0750'; } Doug -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Puppet smoking crack?
On Wed, Sep 05, 2012 at 03:01:42PM -0700, Douglas Garstang wrote: On Wed, Sep 5, 2012 at 2:23 PM, Christopher Wood christopher_w...@pobox.com wrote: (inline) On Wed, Sep 05, 2012 at 02:04:59PM -0700, Douglas Garstang wrote: Couple of questions. Firstly, what's the plugin error about? puppet agent --onetime --test --verbose Could you also try with --debug? I could. What are we looking for? More detailed error messages for now. info: Retrieving plugin err: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve information from source(s) puppet://puppet/plugins Did this fail because of a connection issue, because you typo'ed something, because something in your manifest doesn't exist on the puppetmaster, etc. etc. Worth looking into your pluginsync config here. I have on the client 'pluginsync = true' in the [main] section. You do, is it working? Apparently not, judging from this error message. Using --debug might assist here as well. Also see what your puppetmaster has to say. Debug logging there might help too. info: Caching catalog for mon01.ap1.xxx.com info: Applying configuration version '1346878830' err: /Stage[main]/Xxx::Nagios::Server/File[/var/lib/nagios3]: Failed Do you have a declaration /var/lib/nagios3? What does that say? Nope. The manifest only has: file { '/var/lib/nagios3/rw': owner = 'nagios', group = 'www-data', mode = '0750'; } As a random guess I'd say your missing plugin configuration and the debug output together might be a useful path to pursue. Doug -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.