summaryrefslogtreecommitdiff
path: root/puppet/modules/site_couchdb/manifests/bigcouch
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_couchdb/manifests/bigcouch')
-rw-r--r--puppet/modules/site_couchdb/manifests/bigcouch/add_nodes.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/puppet/modules/site_couchdb/manifests/bigcouch/add_nodes.pp b/puppet/modules/site_couchdb/manifests/bigcouch/add_nodes.pp
new file mode 100644
index 00000000..241a4914
--- /dev/null
+++ b/puppet/modules/site_couchdb/manifests/bigcouch/add_nodes.pp
@@ -0,0 +1,5 @@
+class site_couchdb::bigcouch::add_nodes {
+ # loop through neighbors array and add nodes
+ $nodes = $::site_couchdb::bigcouch_config['neighbors']
+ couchdb::bigcouch::add_node { $nodes: }
+}