lib/recipes/memcached.rb in capitate-0.3.3 vs lib/recipes/memcached.rb in capitate-0.3.4
- old
+ new
@@ -44,10 +44,10 @@
fetch_or_default(:memcached_compression, true)
fetch_or_default(:memcached_debug, false)
fetch_or_default(:memcached_servers, [ "localhost:11211" ])
fetch_or_default(:memcached_yml_template, "memcached/memcached.yml.erb")
- utils.install_template(memcached_yml_template, "#{shared_path}/config/memcached.yml")
+ put(memcached_yml_template, "#{shared_path}/config/memcached.yml")
end
desc "Symlink memcached configuration after deploy."
task :update_code, :roles => :app do
run "ln -nfs #{shared_path}/config/memcached.yml #{release_path}/config/memcached.yml"
\ No newline at end of file