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
added a module to manage Apache2 sites #7185
Conversation
releated to issue #7151
@kiranos Can you please test if this module is working like expected? |
I will test this tomorrow morning and post here with test results. |
Just saw the changes and a2query is not a command available in debian repo, might it be this: "apache2ctl, it the binary available in debians repo. : |
It's available on Ubuntu 14.04. I'll check for other ways to check for enabled/disabled sites.
|
Using
|
great a2query seems to be for apache 2.4 and apache2ctl for apache 2.2 from what I can gather. |
an os independent way could be to parse output of a2ensite/a2dissite and from grepping the output decide if the change was made or not ( bash coder:P ) |
closing this pull request because I replaced it with a clean and working pull request at #7194 |
releated to issue #7151