Hi Patrick,

On Thu, Aug 13, 2015 at 6:10 AM, Patrick G. <pgh2...@gmail.com> 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
> <https://groups.google.com/d/msgid/puppet-users/1af6a1e5-4125-457c-a0ec-5b0a139042df%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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.

Reply via email to