Skip to content
Browse files

slight org change in redis-yml default.rb

  • Loading branch information...
1 parent 87adc00 commit d9e3916c18f83bc02fe216d396d8b7ad1d574806 @acco acco committed Aug 22, 2012
Showing with 3 additions and 4 deletions.
  1. +3 −4 cookbooks/redis-yml/recipes/default.rb
View
7 cookbooks/redis-yml/recipes/default.rb
@@ -1,10 +1,9 @@
if ['app_master', 'app'].include?(node[:instance_role])
- #If you have only one utility instance uncomment the line below containing ".first"
- #If you have multiple utility instances you can specify it by uncommenting the line below containing ".find"
- #You can change the name of the instance based on whatever name you have chosen for your instance.
-
+ # If you have only one utility instance uncomment the line below
#redis_instance = node['utility_instances'].first
+ # Otherwise, if you have multiple utility instances you can specify it by uncommenting the line below
+ # You can change the name of the instance based on whatever name you have chosen for your instance.
#redis_instance = node['utility_instances'].find { |instance| instance['name'] == 'redis' }
if redis_instance

0 comments on commit d9e3916

Please sign in to comment.
Something went wrong with that request. Please try again.