lib/recipes/memcached.rb in capitate-0.2.13 vs lib/recipes/memcached.rb in capitate-0.2.14

- old
+ new

@@ -1,7 +1,39 @@ namespace :memcached do - desc "Create memcached yaml in shared path." + desc <<-DESC + Create memcached yaml in shared path. + + <dl> + <dt>memcached_namespace</dt> + + <dt>memcached_ttl</dt> + <dd class="default">Defaults to @3600@</dd> + + <dt>memcached_readonly</dt> + <dd class="default">Defaults to @false@</dd> + + <dt>memcached_urlencode</dt> + <dd class="default">Defaults to @false@</dd> + + <dt>memcached_c_threshold</dt> + <dd class="default">Defaults to @10000@</dd> + + <dt>memcached_compression</dt> + <dd class="default">Defaults to @true@</dd> + + <dt>memcached_debug</dt> + <dd class="default">Defaults to @false@</dd> + + <dt>memcached_servers</dt> + <dd class="default">Defaults to @[ "localhost:11211" ]@</dd> + + <dt>memcached_yml_template</dt> + <dd class="default">Defaults to @"memcached/memcached.yml.erb"@</dd> + </dl> + + "Source":#{link_to_source(__FILE__)} + DESC task :setup do # Settings fetch(:memcached_namespace) fetch_or_default(:memcached_ttl, 3600) \ No newline at end of file