line.gsub!(/^( *)#log_path:.*$/, "\\1log_path: \"#{params[:log_path]}\"")
end
+ if params[:logstash_path]
+ line.gsub!(/^( *)#logstash_path:.*$/, "\\1logstash_path: \"#{params[:logstash_path]}\"")
+ end
+
if params[:memcache_servers]
line.gsub!(/^( *)#memcache_servers:.*$/, "\\1memcache_servers: [ \"#{params[:memcache_servers].join("\", \"")}\" ]")
end
group rails_group
mode 0664
content application_yml
- notifies :run, "execute[#{rails_directory}]"
+ notifies :run, "execute[#{rails_directory}/public/assets]"
end
if params[:piwik_configuration]