initial commit
diff --git a/system/galera/server/cluster.yml b/system/galera/server/cluster.yml
new file mode 100644
index 0000000..f1c3a48
--- /dev/null
+++ b/system/galera/server/cluster.yml
@@ -0,0 +1,4 @@
+classes:
+- service.keepalived.cluster.single
+- service.haproxy.proxy.single
+- system.haproxy.proxy.listen.openstack.galera
\ No newline at end of file
diff --git a/system/galera/server/database/ceilometer.yml b/system/galera/server/database/ceilometer.yml
new file mode 100644
index 0000000..b33c8f9
--- /dev/null
+++ b/system/galera/server/database/ceilometer.yml
@@ -0,0 +1,15 @@
+parameters:
+  mysql:
+    server:
+      database:
+        ceilometer:
+          encoding: utf8
+          users:
+          - name: ceilometer
+            password: ${_param:mysql_ceilometer_password}
+            host: '%'
+            rights: all
+          - name: ceilometer
+            password: ${_param:mysql_ceilometer_password}
+            host: ${_param:cluster_local_address}
+            rights: all
diff --git a/system/galera/server/database/cinder.yml b/system/galera/server/database/cinder.yml
new file mode 100644
index 0000000..08b6ddb
--- /dev/null
+++ b/system/galera/server/database/cinder.yml
@@ -0,0 +1,15 @@
+parameters:
+  mysql:
+    server:
+      database:
+        cinder:
+          encoding: utf8
+          users:
+          - name: cinder
+            password: ${_param:mysql_cinder_password}
+            host: '%'
+            rights: all
+          - name: cinder
+            password: ${_param:mysql_cinder_password}
+            host: ${_param:cluster_local_address}
+            rights: all
diff --git a/system/galera/server/database/glance.yml b/system/galera/server/database/glance.yml
new file mode 100644
index 0000000..7e5e443
--- /dev/null
+++ b/system/galera/server/database/glance.yml
@@ -0,0 +1,15 @@
+parameters:
+  mysql:
+    server:
+      database:
+        glance:
+          encoding: utf8
+          users:
+          - name: glance
+            password: ${_param:mysql_glance_password}
+            host: '%'
+            rights: all
+          - name: glance
+            password: ${_param:mysql_glance_password}
+            host: ${_param:cluster_local_address}
+            rights: all
diff --git a/system/galera/server/database/grafana.yml b/system/galera/server/database/grafana.yml
new file mode 100644
index 0000000..fa4742e
--- /dev/null
+++ b/system/galera/server/database/grafana.yml
@@ -0,0 +1,16 @@
+parameters:
+  mysql:
+    server:
+      database:
+        grafana:
+          encoding: utf8
+          users:
+          - name: grafana
+            password: ${_param:mysql_grafana_password}
+            host: '%'
+            rights: all
+          - name: grafana
+            password: ${_param:mysql_grafana_password}
+            host: ${_param:cluster_local_address}
+            rights: all
+
diff --git a/system/galera/server/database/graphite.yml b/system/galera/server/database/graphite.yml
new file mode 100644
index 0000000..8ba6efd
--- /dev/null
+++ b/system/galera/server/database/graphite.yml
@@ -0,0 +1,11 @@
+parameters:
+  mysql:
+    server:
+      database:
+        graphite:
+          encoding: 'utf8'
+          users:
+          - name: 'graphite'
+            password: '${_param:mysql_graphite_password}'
+            host: '%'
+            rights: 'all'
diff --git a/system/galera/server/database/heat.yml b/system/galera/server/database/heat.yml
new file mode 100644
index 0000000..0d716d8
--- /dev/null
+++ b/system/galera/server/database/heat.yml
@@ -0,0 +1,15 @@
+parameters:
+  mysql:
+    server:
+      database:
+        heat:
+          encoding: utf8
+          users:
+          - name: heat
+            password: ${_param:mysql_heat_password}
+            host: '%'
+            rights: all
+          - name: heat
+            password: ${_param:mysql_heat_password}
+            host: ${_param:cluster_local_address}
+            rights: all
diff --git a/system/galera/server/database/keystone.yml b/system/galera/server/database/keystone.yml
new file mode 100644
index 0000000..fc2c5eb
--- /dev/null
+++ b/system/galera/server/database/keystone.yml
@@ -0,0 +1,15 @@
+parameters:
+  mysql:
+    server:
+      database:
+        keystone:
+          encoding: utf8
+          users:
+          - name: keystone
+            password: ${_param:mysql_keystone_password}
+            host: '%'
+            rights: all
+          - name: keystone
+            password: ${_param:mysql_keystone_password}
+            host: ${_param:cluster_local_address}
+            rights: all
diff --git a/system/galera/server/database/neutron.yml b/system/galera/server/database/neutron.yml
new file mode 100644
index 0000000..58dd012
--- /dev/null
+++ b/system/galera/server/database/neutron.yml
@@ -0,0 +1,15 @@
+parameters:
+  mysql:
+    server:
+      database:
+        neutron:
+          encoding: 'utf8'
+          users:
+          - name: 'neutron'
+            password: '${_param:mysql_neutron_password}'
+            host: '%'
+            rights: 'all'
+          - name: 'neutron'
+            password: '${_param:mysql_neutron_password}'
+            host: '${_param:cluster_local_address}'
+            rights: 'all'
diff --git a/system/galera/server/database/nova.yml b/system/galera/server/database/nova.yml
new file mode 100644
index 0000000..619c5df
--- /dev/null
+++ b/system/galera/server/database/nova.yml
@@ -0,0 +1,26 @@
+parameters:
+  mysql:
+    server:
+      database:
+        nova:
+          encoding: utf8
+          users:
+          - name: nova
+            password: ${_param:mysql_nova_password}
+            host: '%'
+            rights: all
+          - name: nova
+            password: ${_param:mysql_nova_password}
+            host: ${_param:cluster_local_address}
+            rights: all
+        nova_api:
+          encoding: utf8
+          users:
+          - name: nova
+            password: ${_param:mysql_nova_password}
+            host: '%'
+            rights: all
+          - name: nova
+            password: ${_param:mysql_nova_password}
+            host: ${_param:cluster_local_address}
+            rights: all