Skip to content

Commit

Permalink
We need to use the application name, not the name of this resource.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Campi committed Apr 3, 2012
1 parent 5c806b7 commit 252bd81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/mod_php_apache2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
include_recipe "apache2::mod_php5"

unless new_resource.server_aliases
server_aliases = [ "#{new_resource.name}.#{node['domain']}", node['fqdn'] ]
server_aliases = [ "#{new_resource.application.name}.#{node['domain']}", node['fqdn'] ]
if node.has_key?("cloud")
server_aliases << node['cloud']['public_hostname']
end
Expand Down

0 comments on commit 252bd81

Please sign in to comment.