[chef] NGINX -- default_site_enabled issue


Chronological Thread 
  • From: Liam Kirsher < >
  • To: Opscode Support < >, " " < >
  • Subject: [chef] NGINX -- default_site_enabled issue
  • Date: Tue, 11 Jun 2013 14:52:50 -0700
  • Openpgp: id=7011F7B7; url=http://liam.numenet.com/pgp/

Hi --

I'm using the application_nginx cookbook which includes the nginx cookbook.
In my wrapper cookbook I have

cookbooks/bti_api/attributes/default.rb:
override[:nginx][:default_site_enabled] = false

However, the NGINX default site is still enabled!  At the bottom of the
nginx.conf file is
>   include /etc/nginx/conf.d/*.conf;
>   include /etc/nginx/sites-enabled/*;
> }
And conf.d/default.conf exists.

So, it seems that default_site_enabled is being ignored.  Is this not
the way to turn off the default_site?


Possibly relevant info:
I'm using the nginx::repo recipe

The run_list:
> INFO: Loading cookbooks [application, application_nginx,
> application_python, apt, aws, bti_api, build-essential, chef_handler,
> erlang, gunicorn, mercurial, nginx, ohai, python, rabbitmq, runit,
> supervisor, windows, yum]





The

-- 
Liam Kirsher
PGP: http://liam.numenet.com/pgp/




Archive powered by MHonArc 2.6.16.

§