diff --git a/cookbooks/couchbase/recipes/setup-2.1.1.rb b/cookbooks/couchbase/recipes/setup-2.1.1.rb index 8b04c857c..53710ccff 100644 --- a/cookbooks/couchbase/recipes/setup-2.1.1.rb +++ b/cookbooks/couchbase/recipes/setup-2.1.1.rb @@ -176,11 +176,12 @@ " -c localhost:8091") begin execute "rebalance cluster" do - commmand("/opt/couchbase/bin/couchbase-cli rebalance" + + ommmand("/opt/couchbase/bin/couchbase-cli rebalance" + " -u #{node[:db_couchbase][:cluster][:username]}" + " -p #{node[:db_couchbase][:cluster][:username]}" + " -c localhost:8091") action :run + end rescue Exception => e log e end