Permalink
Browse files

corrected the variables in template instead of the attributes

  • Loading branch information...
1 parent 986778e commit b359efb08f53bc94603ad01a65d1241e46556682 @jtimberman jtimberman committed Feb 27, 2012
Showing with 3 additions and 4 deletions.
  1. +1 −2 chef-server/attributes/server_proxy.rb
  2. +2 −2 chef-server/recipes/apache-proxy.rb
View
3 chef-server/attributes/server_proxy.rb
@@ -32,7 +32,7 @@
'chef-server-proxy',
"chef.#{node['domain']}"
]
-default['chef_server']['proxy']['api_server_aliases'] = node['chef_server']['proxy']['api_aliases']
+
default['chef_server']['proxy']['webui_server_name'] = "localhost"
default['chef_server']['proxy']['webui_port'] = 444
default['chef_server']['proxy']['webui_aliases'] = [
@@ -41,4 +41,3 @@
'chef-server-proxy',
"chef.#{node['domain']}"
]
-default['chef_server']['proxy']['webui_server_aliases'] = node['chef_server']['proxy']['webui_aliases']
View
4 chef-server/recipes/apache-proxy.rb
@@ -58,10 +58,10 @@
web_app "chef-server-proxy" do
template "chef_server.conf.erb"
api_server_name node['chef_server']['proxy']['api_server_name']
- api_aliases node['chef_server']['proxy']['api_aliases']
+ api_server_aliases node['chef_server']['proxy']['api_aliases']
api_port node['chef_server']['proxy']['api_port']
webui_server_name node['chef_server']['proxy']['webui_server_name']
- webui_aliases node['chef_server']['proxy']['webui_aliases']
+ webui_server_aliases node['chef_server']['proxy']['webui_aliases']
webui_port node['chef_server']['proxy']['webui_port']
log_dir node['apache']['log_dir']
end

0 comments on commit b359efb

Please sign in to comment.