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

Policy file content option for using templates #231

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

deligatedgeek
Copy link
Contributor

Hi @djjudas21, an environment I'm managing using data from hiera to construct a policy for adding VSAs to responses. Currently this is done in the sites file using a template, and about 50 lines of if, elsif, and case statements is untidy, so I've added a content option to policy.pp so a template can populate the policy file.

Probably something for Monday, but its working fine in my environment

@deligatedgeek
Copy link
Contributor Author

Hi @djjudas21, do you need any changes to this?

@djjudas21 djjudas21 merged commit 48c166f into djjudas21:main Oct 30, 2024
0 of 2 checks passed
@deligatedgeek deligatedgeek deleted the policy/content_template branch November 7, 2024 13:21
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.

2 participants