forked from getaroom/chef-couchbase
-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
Hello. I've done some work on cluster convergence: https://github.com/ProTip/couchbase/tree/pool_join . Not a lot of testing going on and it's got a gutted gem inside it(somebody already used "recliner"). It works well for my purposes though and was hoping somebody might be willing to lend a hand or advice in getting it ready for integration. Here is an example of using the new functionality:
couchbase_cluster "NewCluster" do
members_finder Proc.new {
member_nodes = search(:node, 'tags:couchbase_cluster\:\:session_provider')
member_nodes.map { |node| node['ipaddress'] }
}
username 'Administrator'
password 'Password'
exists false
action :nothing
end.run_action(:converge)There is a configurable timeout set to 120 by default. If it can't converge in that time it will raise the usual timeout exception. Here is some information about the angle I took: https://github.com/ProTip/recliner
-Cheers
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels