puppetdb icon indicating copy to clipboard operation
puppetdb copied to clipboard

(PDB-3832) Update permissions for ini files to match puppetlabs-puppetdb module

Open underscorgan opened this issue 5 years ago • 6 comments

blocked on https://github.com/puppetlabs/ezbake/pull/571

underscorgan avatar Apr 28 '20 16:04 underscorgan

CLA signed by all contributors.

puppetcla avatar Apr 28 '20 22:04 puppetcla

wow, this fell off my radar for way too long, but just ran a test and it seems to work

[root@dilute-datum ~]# ll /etc/puppetlabs/puppetdb/conf.d/config.ini
-rw------- 1 puppetdb puppetdb 472 Jan 29 18:48 /etc/puppetlabs/puppetdb/conf.d/config.ini

underscorgan avatar Jan 29 '21 21:01 underscorgan

We just added a file named auth.conf, so we might want to update the command to change that as well

austb avatar Jan 29 '21 22:01 austb

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Morgan Rhodes seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Sep 01 '21 18:09 CLAassistant

Is there an update on this? I noticed the same thing still occurring during every update cycle, permissions are getting reset to match what the module is expecting

notice | /Stage[main]/Puppetdb::Server::Global/File[/etc/puppetlabs/puppetdb/conf.d/config.ini]/owner | current_value 'root', should be 'puppetdb' (noop) (corrective)
notice | /Stage[main]/Puppetdb::Server::Global/File[/etc/puppetlabs/puppetdb/conf.d/config.ini]/group | current_value 'root', should be 'puppetdb' (noop) (corrective)
notice | /Stage[main]/Puppetdb::Server::Global/File[/etc/puppetlabs/puppetdb/conf.d/config.ini]/mode | current_value '0644', should be '0600' (noop) (corrective)

jplindquist avatar Apr 13 '22 21:04 jplindquist

Can one of the admins verify this patch?

puppetlabs-jenkins avatar Jan 24 '23 17:01 puppetlabs-jenkins