[chef] Re: Re: apache2 cookbook , cannot seem to disable the default site

Chronological Thread 
  • From: Kobi Biton < >
  • To:
  • Subject: [chef] Re: Re: apache2 cookbook , cannot seem to disable the default site
  • Date: Sun, 24 Jun 2012 15:20:07 +0300

great, thanks a lot for the ref.

eventually I was able to disable the default site by adding the below code to my custom virtual host recipe:

apache_site "default" do
     enable false

I figured it out from the module disable example on the readme maybe one should consider an example snippet on README.rb file?

anyways I am all good now , thanks!


On 06/24/2012 03:13 PM, Mike wrote:
Hey Kobi,

I ran into that problem, and fixed it here:

Basically, it's now an attribute, named `default_site_enabled` with a
value of true/false.

It has not been released into the cookbook versions yet, should make
it into 1.1.10.


On Sun, Jun 24, 2012 at 5:14 AM, Kobi Biton 
< >
hi folks i am using the latest apache2 cookbook from opscode to configure my
apache server I have already added my own virtual hosts recipes, for some
reason I cannot seem to be able to disable the default and default-ssl sites
, I red the README and tried apache_site "default" "disable" , apache_site
"default" "false" but nothing seems to trigger the a2dissite code.

Any Ideas?


Archive powered by MHonArc 2.6.16.