Given a chef-solo run "run_list": [ "recipe[chef-server::rubygems-install]",
"recipe[chef-server::apache-proxy]" ] #https://gist.github.com/1136193
chef-server/templates/default/chef_server.conf.erb:4
- ServerAlias <% @params['server_aliases'].each do |a| %><%= "#{a}" %> <%
end %>
Fails because the string 'server_aliases' returns nil, while the Symbol
:server_aliases returns the correct values.
So I made changes here:
The web_app is defined here:
Is there a better way to get around this error... I'd assume the opscode
repo for apache-proxy is correct, and my ruby-foo is a bit weak.
Help?
Cheers,
-chris