Re: [Puppet Users] keep changing owner

2015-08-24 Thread Patrick G.
Thanks .. that module did changed the ownership of libdir.

Regards, Patrick.


Op maandag 17 augustus 2015 17:55:51 UTC+2 schreef Josh Cooper:
>
> Hi Patrick,
>
> On Thu, Aug 13, 2015 at 6:10 AM, Patrick G.  > wrote:
>
>> Hi,
>>
>> When running puppet agent -t I get
>>
>> Notice: /File[/var/lib/puppet/lib]/owner: owner changed 'puppet' to 'root'
>> Notice: /File[/var/lib/puppet/lib]/group: group changed 'puppet' to 'root'
>>
>> And then
>>
>> Notice: /Stage[main]/My_fw/File[/var/lib/puppet/lib]/owner: owner changed 
>> 'root' to 'puppet'
>> Notice: /Stage[main]/My_fw/File[/var/lib/puppet/lib]/group: group changed 
>> 'root' to 'puppet'
>>
>> For a lot of files.
>>
>> Why?
>>
>
> Puppet will manage file permissions for its internal settings that are 
> file/directories, e.g. Puppet[:libdir] is /var/lib/puppet/lib. It appears 
> you have a module that is trying to manage permissions on that directory as 
> well, and they disagree about what the desired state should be. I would 
> remove the /var/lib/puppet/lib resource from your My_fw module (and any 
> other Puppet settings-related file/directory).
>  
>
>>
>> Regards, Patrick.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Puppet Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to puppet-users...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/puppet-users/1af6a1e5-4125-457c-a0ec-5b0a139042df%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> Josh
>
> -- 
> Josh Cooper
> Developer, Puppet Labs
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/4d71c7b0-bff4-4f53-84bf-87d01ef0ceb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] keep changing owner

2015-08-17 Thread Josh Cooper
Hi Patrick,

On Thu, Aug 13, 2015 at 6:10 AM, Patrick G.  wrote:

> Hi,
>
> When running puppet agent -t I get
>
> Notice: /File[/var/lib/puppet/lib]/owner: owner changed 'puppet' to 'root'
> Notice: /File[/var/lib/puppet/lib]/group: group changed 'puppet' to 'root'
>
> And then
>
> Notice: /Stage[main]/My_fw/File[/var/lib/puppet/lib]/owner: owner changed
> 'root' to 'puppet'
> Notice: /Stage[main]/My_fw/File[/var/lib/puppet/lib]/group: group changed
> 'root' to 'puppet'
>
> For a lot of files.
>
> Why?
>

Puppet will manage file permissions for its internal settings that are
file/directories, e.g. Puppet[:libdir] is /var/lib/puppet/lib. It appears
you have a module that is trying to manage permissions on that directory as
well, and they disagree about what the desired state should be. I would
remove the /var/lib/puppet/lib resource from your My_fw module (and any
other Puppet settings-related file/directory).


>
> Regards, Patrick.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/1af6a1e5-4125-457c-a0ec-5b0a139042df%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

Josh

-- 
Josh Cooper
Developer, Puppet Labs

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CA%2Bu97uk9uXLLnq%3D-X%3D6-rC-7oK2ERzF9Abvz0ySQZmUPboxuWg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] keep changing owner

2015-08-13 Thread Patrick G.
Hi,

When running puppet agent -t I get

Notice: /File[/var/lib/puppet/lib]/owner: owner changed 'puppet' to 'root'
Notice: /File[/var/lib/puppet/lib]/group: group changed 'puppet' to 'root'

And then

Notice: /Stage[main]/My_fw/File[/var/lib/puppet/lib]/owner: owner changed 
'root' to 'puppet'
Notice: /Stage[main]/My_fw/File[/var/lib/puppet/lib]/group: group changed 
'root' to 'puppet'

For a lot of files.

Why?

Regards, Patrick.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1af6a1e5-4125-457c-a0ec-5b0a139042df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.