lib/recipes/memcached.rb in capitate-0.1.7 vs lib/recipes/memcached.rb in capitate-0.1.8
- old
+ new
@@ -1,7 +1,17 @@
namespace :memcached do
- desc "Install memcached monit hooks"
+ desc <<-DESC
+ Install memcached monit hooks.
+
+ memcached_pid_path: Path to memcached pid file. Defaults to /var/run/memcached.pid
+
+ set :memcached_pid_path, "/var/run/memcached.pid"
+
+ memcached_port: Memcached port. Defaults to 11211.
+
+ set :memcached_port, 11211
+ DESC
task :install_monit do
# Settings
fetch_or_default(:memcached_pid_path, "/var/run/memcached.pid")
fetch_or_default(:memcached_port, 11211)
\ No newline at end of file