Ask Your Question
0

Puppet changing file ownership/group

asked 2018-01-18 09:43:19 -0500

updated 2018-01-19 08:13:51 -0500

DarylW gravatar image

We have running Puppet Master 3.8 in our environment. Now I'm in the middle of upgrading puppet to PuppetServer5. But when client is connected puppet changes the ownership of some files to UID(1012) which is totally vague.

Note: Client is running Version 3.8 while server is running PuppetServer 5 Here are the manifest details

file { '/etc/inet/ntp.conf':
            ensure => file,
            mode   => '0644',
            source => "puppet:///modules/ntp/ntp.conf",
}

On client puppet puppet changes ownership to some unknown UID-1012

I'm able to resolve this issue with attribute "owner" but I need to know where this UID-1012 is coming from? What if I dont specify the attribute "owner".

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-01-19 04:04:20 -0500

I have found the issue with this problem. Modules on PuppetServer was in the ownership of the user having UID 1012 while no user with this UID was there on the client so it was giving it to the ownership of UID-1012

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2018-01-18 09:43:19 -0500

Seen: 36 times

Last updated: Jan 19