-
-
Notifications
You must be signed in to change notification settings - Fork 548
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
Setting default_site_enabled false does not disable default site on Ubuntu 14.04 #146
Comments
In addition to the issue with the Specifically, the site config files now end in
This makes sense as my current workaround is apache_site '000-default.conf' do
enable node['apache']['default_site_enabled']
end |
@razor-x the a2_.erb files that are in the cookbook are only there to recreate some of the capabilities if the ubuntu/debian a2_ commands (meaning the smartness of adding I've added .conf to those File.symlink? lines (I actually just added more OR statements to include situations where .conf is not included - for cases where people use apache2.2). |
@razor-x let me know if the latest commits to https://github.com/drpebcak/apache2/tree/COOK-3900 solves this for you. |
@drpebcak Using |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Setting
node['apache']['default_site_enabled'] = false
does not actually disable the default site on Ubuntu 14.04. (This is on COOK-3900 branch.)The
a2dissite
anda2ensite
scripts do not correctly add the000-
priority prefix whendefault
is given (even though it seems this functionality is intended).I am running Ruby 2.1.2 and Vagrant 1.6.3-1 on Arch Linux.
To reproduce:
$ git clone https://gist.github.com/e795303129cc8a5563fa.git $ cd e795303129cc8a5563fa $ git checkout ca61368b814fe4f0a79d7c45986021ee17d09c9d $ bundle $ kitchen converge $ kitchen login
Then on the VM:
The text was updated successfully, but these errors were encountered: