keep changing owner

94 views
Skip to first unread message

Patrick G.

unread,
Aug 13, 2015, 9:10:15 AM8/13/15
to Puppet Users
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.

Josh Cooper

unread,
Aug 17, 2015, 11:55:51 AM8/17/15
to puppet...@googlegroups.com
Hi Patrick,

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

Patrick G.

unread,
Aug 24, 2015, 5:41:39 AM8/24/15
to Puppet Users
Thanks .. that module did changed the ownership of libdir.

Regards, Patrick.


Op maandag 17 augustus 2015 17:55:51 UTC+2 schreef Josh Cooper:
Reply all
Reply to author
Forward
0 new messages