Issue #3299 has been updated by Sam Pointer.

Nigel Kersten wrote:
> ok. Given we have a workaround, this isn't a high priority for us to do the 
> development work, but we'd be more than happy to accept patches to get the 
> desired functionality.
> 
> I'm concerned about parameter explosion, as once you add owner you're going 
> to want group, and probably mode as well.

If you're worried about parameter explosion then perhaps a better default would 
be to create the files 0640 root:root and only offer the group parameter.

This would be backwards compatible with existing installations that expect only 
root to be able to read the files, but enable those with Nagios installs 
running under non-root users to amend the group to something more appropriate 
for reading the config files, such as 'nagios'.
----------------------------------------
Bug #3299: owner of files created by nagios resource types
https://projects.puppetlabs.com/issues/3299

Author: Frederic Descamps
Status: Accepted
Priority: Normal
Assignee: 
Category: nagios
Target version: 
Affected Puppet version: 0.25.4
Keywords: 
Branch: 


Currently the files are created with the permission 600 and are owned by root

it will be nice to have the possibility to change the owner and/or the 
permissions of those resources

example : 
<pre>
nagios_host{ "korin": 
ensure          => "present",
use             => "linux-server",
alias           => "korin",
address         =>  "192.168.109.84",
hostgroups      => "linux-servers",
target          => "/etc/nagios/host_korin.cfg",
**owner           => "nagios"**;
}    
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to