Added MongoDB
diff --git a/mongodb/server/cluster.yml b/mongodb/server/cluster.yml
new file mode 100644
index 0000000..6d862ef
--- /dev/null
+++ b/mongodb/server/cluster.yml
@@ -0,0 +1,12 @@
+classes:
+- service.keepalived.cluster.single
+- service.mongodb.server.cluster
+parameters:
+ _param:
+ mongodb_server_replica_set: mongodb
+ mongodb_master: mdb01.${_param:cluster_domain}
+ mongodb_server_members:
+ - host: mdb01
+ priority: 2
+ - host: mdb02
+ - host: mdb03
diff --git a/mongodb/server/database/ceilometer.yml b/mongodb/server/database/ceilometer.yml
new file mode 100644
index 0000000..8952fbd
--- /dev/null
+++ b/mongodb/server/database/ceilometer.yml
@@ -0,0 +1,9 @@
+ mongodb:
+ server:
+ database:
+ ceilometer:
+ enabled: true
+ password: ${_param:mongodb_ceilometer_password}
+ users:
+ - name: ceilometer
+ password: ${_param:mongodb_ceilometer_password}
diff --git a/mongodb/server/single.yml b/mongodb/server/single.yml
new file mode 100644
index 0000000..c3d6cca
--- /dev/null
+++ b/mongodb/server/single.yml
@@ -0,0 +1,5 @@
+classes:
+- service.mongodb.server.single
+parameters:
+ _param:
+ mongodb_server_replica_set: ceilometer