-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setup fileserver and add access rights to /etc/puppetlabs/puppetserver/conf.d/auth.conf #752
Comments
There is a parameter |
It would be convenient to just add a rule. For example, this module is very useful |
Since I don't use that, I don't have time to write a patch but will certainly accept a PR. |
thank you for your suggestions, I will try auth_template and puppet-catalog-diff. |
auth_template is connected to ${puppet_dir}/auth.conf (see manifests/config.pp )and it is only useable, if use-legacy-auth-conf is true. I add needed rule for my fileserver into templates/server/puppetserver/conf.d/auth.conf.erb now. Perhaps in a later version of this module it is possible to add additional rules into new auth.conf. Thank you for your help! |
Ah, you're right. It does appear to be hardcoded: puppet-puppet/manifests/server/puppetserver.pp Lines 247 to 250 in f63fdaa
Sadly, I don't have time to dive into this but a PR is welcome. |
My use case is different, but relevant. I need to update the allowed hosts for catalog, node, and report (we use a different node_name_fact than certname). I think allowing the module user to provide a template for the puppetserver auth.conf is probably a good workaround for now. Ideally maybe we would have types for building that file, but I know I don't have the cycles to implement that right now. |
Hey,
I would like setup a fileserver and set access rights, https://puppet.com/docs/puppet/latest/file_serving.html
Atm I did not find a possibility to use this module to configure /etc/puppetlabs/puppetserver/conf.d/auth.conf to add an access rule.
Did I not find the right parameter to configure auth.conf or is it atm not possible to add own config to auth.conf?
Best regards.
thomas.
The text was updated successfully, but these errors were encountered: