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

Add flag to control creation of the site-enabled symlink to vhosts #2400

Closed
QueerCodingGirl opened this issue Mar 29, 2023 · 2 comments
Closed

Comments

@QueerCodingGirl
Copy link

Use Case

I would like to have a vhost available on a node, but not enabled atm

@QueerCodingGirl
Copy link
Author

$vhost_symlink_ensure = $ensure ? {

@Ramesh7
Copy link
Contributor

Ramesh7 commented Sep 13, 2023

Thanks @QueerCodingGirl for raising issue as well as coming back with solution. That's exactly the way you can manage the vhost using ensure => 'absent' in apache::vhost resource if you don't wanted to include in enabled sites.
And if you want it back then you either can remove this key pair or replace value with ensure => 'present' which will bring back in enabled sites.

Closing the issue. Please feel free to reopen if anything more needed. Thanks

@Ramesh7 Ramesh7 closed this as completed Sep 13, 2023
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