- variables new_resource.variables.merge(:name => new_resource.name, :directory => new_resource.directory)
- if enabled?
- notifies :reload, "service[apache2]"
- end
+ variables new_resource.variables.merge(:name => new_resource.name, :directory => site_directory)
+ notifies :reload, "service[apache2]" if enabled?