summaryrefslogtreecommitdiff
path: root/manifests/bigcouch/add_node.pp
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2016-05-24 10:19:27 -0400
committerMicah <micah@leap.se>2016-05-24 10:19:27 -0400
commitaf6fdd31fb961fc1b7f408f51001e7a6d192a58a (patch)
tree8e5e443c2958f07027ebb60595007dd5b755d3a0 /manifests/bigcouch/add_node.pp
Squashed 'puppet/modules/couchdb/' content from commit 76ff149
git-subtree-dir: puppet/modules/couchdb git-subtree-split: 76ff149a095023611c05bbb00157d06f87b07c05
Diffstat (limited to 'manifests/bigcouch/add_node.pp')
-rw-r--r--manifests/bigcouch/add_node.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/bigcouch/add_node.pp b/manifests/bigcouch/add_node.pp
new file mode 100644
index 00000000..ed9db94b
--- /dev/null
+++ b/manifests/bigcouch/add_node.pp
@@ -0,0 +1,8 @@
+define couchdb::bigcouch::add_node {
+
+ couchdb::bigcouch::document { "add_${name}":
+ db => 'nodes',
+ id => "bigcouch@${name}",
+ ensure => 'present'
+ }
+}