Skip to content
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

adds param for user-provided puppetserver auth.conf #769

Merged
merged 1 commit into from
Oct 8, 2020

Conversation

chadh
Copy link

@chadh chadh commented Oct 7, 2020

There are a lot of special use cases for auth.conf, and rather than 100% manage that file, this PR gives the module user a way to provide their own. Ideally we would use an epp template and also provide a hash of arguments for the template , but I tried to just match the existing pattern in this PR. This potentially address #752 .

@chadh chadh force-pushed the puppetserver_auth_template branch 2 times, most recently from 7111d1f to 7dcbc12 Compare October 8, 2020 12:31
@chadh chadh force-pushed the puppetserver_auth_template branch from 7dcbc12 to 75b3b30 Compare October 8, 2020 13:46
Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I do indeed consider this a solution to #752. It may not be the prettiest since ERB templates and their context are fragile, but it at least provides flexibility.

@ekohl ekohl merged commit f4e8a7c into theforeman:master Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

setup fileserver and add access rights to /etc/puppetlabs/puppetserver/conf.d/auth.conf
4 participants