Browse files

fix: default daemon count should be 1 for kafka-contrib apps

Change-Id: I1bc5fca4f224f309fe01a85a8ade2b1f1caa963b
  • Loading branch information...
1 parent 895004a commit 644ff2a4d3f0532eca970c80627d295bb46dee77 @joshbronson joshbronson committed Sep 17, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 cookbooks/kafka/definitions/run_contrib_app.rb
View
2 cookbooks/kafka/definitions/run_contrib_app.rb
@@ -57,7 +57,7 @@ def hadoop_hdfs_host
log_monitor_info = {}
daemon_monitor_info = {}
- daemons = params[:daemon_count] || node[:kafka][:contrib][:app][:daemon_count] || 0
+ daemons = params[:daemon_count] || node[:kafka][:contrib][:app][:daemon_count] || 1
daemons.times do |index|
app_name_with_index = "#{app_name}-#{index}"

0 comments on commit 644ff2a

Please sign in to comment.