Browse files

COOK-83: use only one set of templates for runit

the runit_service changes in COOK-219 allow us to pass
the name of the template rather than basing it off the
name of the memcached instance
  • Loading branch information...
1 parent f0752b7 commit 4c75b13842c3415dda41b25592f31c9dda90f743 @btm btm committed with jtimberman Dec 3, 2009
Showing with 3 additions and 1 deletion.
  1. +3 −1 definitions/memcached_instance.rb
@@ -19,8 +19,10 @@
define :memcached_instance do
include_recipe "memcached"
runit_service "memcached-#{params[:name]}" do
+ template_name "memcached"
+ cookbook "memcached"
:memory => node[:memcached][:memory],
:port => node[:memcached][:port],

0 comments on commit 4c75b13

Please sign in to comment.