Skip to content

Let Puppet deal with setting it's own permissions.#67

Merged
stephenrjohnson merged 1 commit into
stephenrjohnson:masterfrom
razorsedge:filemodes
Nov 20, 2014
Merged

Let Puppet deal with setting it's own permissions.#67
stephenrjohnson merged 1 commit into
stephenrjohnson:masterfrom
razorsedge:filemodes

Conversation

@razorsedge
Copy link
Copy Markdown

The Puppetmaster constantly sets directory modes back to some internal defaults. Lets let it control it's destiny.

@stephenrjohnson
Copy link
Copy Markdown
Owner

I've never seen puppet fight with the permissions we set on those files. Do you have an example run where it does?

@razorsedge
Copy link
Copy Markdown
Author

Oct 31 06:58:53 ineptitude puppet-agent[22661]: (/Stage[main]/Puppet::Passenger/File[/var/lib/puppet/ssl/ca]/mode) mode changed '0755' to '0770'
Oct 31 06:58:54 ineptitude puppet-agent[22661]: (/Stage[main]/Puppet::Passenger/File[/var/lib/puppet/ssl/ca/requests]/mode) mode changed '0755' to '0750'

@stephenrjohnson
Copy link
Copy Markdown
Owner

I have this running fine on two production puppet masters and they don't fight over the file permissions. You don't have a resource{'file" setting anywhere do you ?

@razorsedge
Copy link
Copy Markdown
Author

I have nothing else in my manifests that reference /var/lib/puppet/ssl/ca or /var/lib/puppet/ssl/ca/requests.

/usr/lib/ruby/site_ruby/1.8/puppet/defaults.rb does list the default permissiobns for the directories and I wonder if Puppet itself is keeping things a certain way.

@pall-valmundsson
Copy link
Copy Markdown

I'm seeing this as well. It kind of messes up my puppetboard as the puppet master is always applying some changes.

stephenrjohnson added a commit that referenced this pull request Nov 20, 2014
Let Puppet deal with setting it's own permissions.
@stephenrjohnson stephenrjohnson merged commit fa415f5 into stephenrjohnson:master Nov 20, 2014
jeffsheltren added a commit to jeffsheltren/rackspace-template that referenced this pull request Feb 14, 2015
stephenrjohnson added a commit that referenced this pull request May 17, 2015
Let Puppet deal with setting it's own permissions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants