Permalink
Browse files

use drupal site name as server name

  • Loading branch information...
1 parent 3ca0ee6 commit 567f9a8e274bee65310b14cb0864f96a9ddde597 @ivey ivey committed Apr 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 recipes/default.rb
View
4 recipes/default.rb
@@ -95,7 +95,7 @@
# Apache
-web_app "drupal" do
+web_app node[:drupal][:site][:name] do
only_if { node[:drupal][:webserver] == "apache2" }
template "drupal.conf.erb"
docroot "#{node[:drupal][:dir]}"
@@ -111,7 +111,7 @@
# nginx
-nginx_app site do
+nginx_app node[:drupal][:site][:name] do
only_if { node[:drupal][:webserver] == "nginx" }
template "sites.conf.erb"
server_name server_fqdn

0 comments on commit 567f9a8

Please sign in to comment.