memcached.yml.erb 239 B

12345678910
  1. <%- @memcached_envs.each do |env, settings| %>
  2. <%= env %>:
  3. <%- settings.each do |k, v| %>
  4. <%= k %>: <%= v %>
  5. <%- end %>
  6. servers:
  7. <%- @hosts.each do |h| %>
  8. - <%= h['ipaddress'] %>:<%= h['memcached']['port'] %>
  9. <%- end %>
  10. <%- end %>