- From: Sachin Sagar Rai <
>
- To:
- Subject: [chef] opscode nginx_site disable not working as expected
- Date: Thu, 4 Apr 2013 14:34:00 +0545
Hi,
I installed the nginx using the opscode cookbook nginx https://github.com/opscode-cookbooks/nginx
And this is the last code of my recipe:
…
nginx_site 'default' do
action :disable
end
nginx_site app_name do
action :enable
end
After going into /etc/ngins/sites-enabled, I see:
lrwxrwxrwx 1 root root 34 Apr 4 08:38 000-default -> /etc/nginx/sites-available/default
lrwxrwxrwx 1 root root 37 Apr 4 08:32 harstorage -> /etc/nginx/sites-available/harapp
The question is, why just instead of removing the symlink, it renamed from `default` to `00-default`?
It should have removed the link, why this?
-------------------------------------------
http://funsole.com
- [chef] opscode nginx_site disable not working as expected, Sachin Sagar Rai, 04/04/2013
Archive powered by MHonArc 2.6.16.