Recipe String vs Symbol Dictonary Keys


Given a chef-solo run “run_list”: [ “recipe[chef-server::rubygems-install]”,
“recipe[chef-server::apache-proxy]” ] #


  • 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.