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

Declare modules apache with Hiera #2489

Open
Jerem59 opened this issue Oct 25, 2023 · 2 comments
Open

Declare modules apache with Hiera #2489

Jerem59 opened this issue Oct 25, 2023 · 2 comments

Comments

@Jerem59
Copy link

Jerem59 commented Oct 25, 2023

Hello
i don't find how to declare a list of apache module in hiera
I want to add remoteip, xml2enc by example but with hiera
In puppet it's ok with

apache::mod { 'proxy_ajp': }
apache::mod { 'proxy_html': }
apache::mod { 'alias': }
apache::mod { 'xml2enc': }
apache::mod { 'remoteip': }

but how do it with hiera

Thx

@ekohl
Copy link
Collaborator

ekohl commented Oct 25, 2023

I've been moving to automatically include the needed modules if you pass parameters to apache::vhost, but it's not complete.

You can also override apache::default_mods, but note that you then disable all default mods.

@Jerem59
Copy link
Author

Jerem59 commented Oct 26, 2023

How do you override the default_mods in hiera ?
possibility to give an example with a few modules, please

With apache::vhost, you say it's possible to pass modules ? it is published ? how do ?

Thank in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants