I'm sure people have hit this problem before. In my nagios module, the nagios command pipe file at /var/lib/nagios3/rw/nagios.cmd is owned by the nagios user, but needs to be written to by the www-data user. Adding the www-user to the nagios group is one solution, but that requires that the nagios module potentially modify the www-data user, which seems bad.
What's the best way to do this? I tried to explicitly define the www-data user in it's own class, and then create another nagios class that inherits from that so that I could do plusignment, but I obviously have the syntax wrong. Puppet doesn't like this. class nagios::users inherits users::www-data { User['www-data'] { group +> ['nagios'] } } 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.