-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Make possible to use custom vhosts via hiera directly #2409
Comments
There is |
not enough if you want to use custom vhost configuration |
Why not? You can specify all the parameters you usually have. What can you do with a wrapper that you can't via Hiera? The issue now lacks any information to be useful. |
There is define apache::vhost::custom |
That's true. You could submit a PR to
Again, it helps to be explicit. |
Hi |
You're right, that should be a feature request (or a pull request). |
Defined types can be used if you define them via create resources, requires puppetlabs-stdlib to work. The stdlib::manage::create_resources is your friend!
|
Hi @rolfsrolfs, I have tried using
Manifest:
|
After some tries was able to generate vhost using hiera as you mentioned in above comments. I think the missing part here is the manifest also needs to include the below class of stdlib :
Once we include we can define any number of resources in hiera and we can get it generate the custom vhost. @sergey-ganchuk can you please try with this approach, it should work as expected. |
Use Case
I was trying to use module via hiera and found that it is impossible to make an custom vhost via hiera.
Describe the Solution You Would Like
It would be great to have ability to create custom vhosts.
Describe Alternatives You've Considered
I had to create wrapper module.
The text was updated successfully, but these errors were encountered: