Graham, I've asked about this exact issue and never got a real response. It doesn't make any sense at all for these files to be mode 600 but the only way around this is to create an exec that chmods all the files every time a new nagios file is created and make sure that exec is run after any nagios files are created.
It's really much more difficult than it should be. Scott On Apr 2, 1:57 pm, Rolfs <goo...@krev.no> wrote: > Graham Stratton wrote: > > I'm using Puppet 0.24.7 with exported resources to configure Nagios 3 > > on Debian Lenny. The problem is that when Puppet creates new files > > they have permissions -rw------- , which means that Nagios can't read > > them. > > > Does anyone else have this setup? > > I don't have the setup you describe. I might want it laiter. I've seen > modules for puppet to configure nagios or add hosts to zenoss. You can > modify the file access with something like below. Where did you get > your nagios module from? > > file { > "/path/to/file": > mode => 0744, owner => root, group => root; > } > > Regards, > Rolf --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---