Hi

> I'd really appreciate some help with this, I've tried to find the
> answer in the source code but I haven't had much luck finding an
> answer.  Is there really no one that uses the built in nagios
> resources?

I do and as mentioned before, use a wrapper define which takes care of  
the file modes.

As you have somehow to set the target attribute of the nagios  
resource, as in your setup every host gets into its own file, you can  
use the same path for a file definition and manage the modes there.

Why nagios resources can't handle file modes? Because nagios resources  
don't manage a file, they manage the nagios entry within a file.
You would have various problems: What if multiple nagios resouces  
point to the same file but would have different file modes? Again it's  
not the task of nagios resources to manage the file.

cheers pete

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to