Re: [Puppet Users] Nagios Types

Douglas Garstang
Tue, 06 Jul 2010 18:06:19 -0000

On Tue, Jul 6, 2010 at 11:03 AM, James Turnbull <james@puppetlabs.com>
wrote:
> Douglas Garstang wrote:
>> On Tue, Jul 6, 2010 at 12:46 AM, Peter Meier
<peter.meier@immerda.ch> wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>>> Also, none of the other files created by puppet types are set
to be
>>>> readable only by root. I think this might be a bug in puppet.
>>>> Surprised no one has noticed it before.
>>> http://projects.puppetlabs.com/issues/3299
>>
>> I guess someone else did notice it then. Rather surprised by
Luke''s
>> response to the bug however.
>
> The issue is duplication - if you allow people to manage owner, group
> and permissions in a type when you already have a capability to do so in
> another resource type.

Duplication... exactly... it takes you two operations to do something
that could be done in one. Is there a particular reason that the files
written by the nagios types are readable only by root? If there isn''t,
then what is the point? Having to come along and clean up afterwards
with a file type seems like a hack.

Doug.