summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/system/galera
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/reclass/classes/system/galera')
-rw-r--r--mcp/reclass/classes/system/galera/server/cluster.yml4
-rw-r--r--mcp/reclass/classes/system/galera/server/database/aodh.yml15
-rw-r--r--mcp/reclass/classes/system/galera/server/database/ceilometer.yml15
-rw-r--r--mcp/reclass/classes/system/galera/server/database/cinder.yml15
-rw-r--r--mcp/reclass/classes/system/galera/server/database/glance.yml15
-rw-r--r--mcp/reclass/classes/system/galera/server/database/grafana.yml16
-rw-r--r--mcp/reclass/classes/system/galera/server/database/graphite.yml11
-rw-r--r--mcp/reclass/classes/system/galera/server/database/heat.yml15
-rw-r--r--mcp/reclass/classes/system/galera/server/database/keystone.yml15
-rw-r--r--mcp/reclass/classes/system/galera/server/database/neutron.yml15
-rw-r--r--mcp/reclass/classes/system/galera/server/database/nova.yml37
11 files changed, 173 insertions, 0 deletions
diff --git a/mcp/reclass/classes/system/galera/server/cluster.yml b/mcp/reclass/classes/system/galera/server/cluster.yml
new file mode 100644
index 000000000..f1c3a480e
--- /dev/null
+++ b/mcp/reclass/classes/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/mcp/reclass/classes/system/galera/server/database/aodh.yml b/mcp/reclass/classes/system/galera/server/database/aodh.yml
new file mode 100644
index 000000000..f5095d2d1
--- /dev/null
+++ b/mcp/reclass/classes/system/galera/server/database/aodh.yml
@@ -0,0 +1,15 @@
+parameters:
+ mysql:
+ server:
+ database:
+ aodh:
+ encoding: utf8
+ users:
+ - name: aodh
+ password: ${_param:mysql_aodh_password}
+ host: '%'
+ rights: all
+ - name: aodh
+ password: ${_param:mysql_aodh_password}
+ host: ${_param:cluster_vip_address}
+ rights: all
diff --git a/mcp/reclass/classes/system/galera/server/database/ceilometer.yml b/mcp/reclass/classes/system/galera/server/database/ceilometer.yml
new file mode 100644
index 000000000..b33c8f985
--- /dev/null
+++ b/mcp/reclass/classes/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/mcp/reclass/classes/system/galera/server/database/cinder.yml b/mcp/reclass/classes/system/galera/server/database/cinder.yml
new file mode 100644
index 000000000..08b6ddb3d
--- /dev/null
+++ b/mcp/reclass/classes/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/mcp/reclass/classes/system/galera/server/database/glance.yml b/mcp/reclass/classes/system/galera/server/database/glance.yml
new file mode 100644
index 000000000..7e5e443bf
--- /dev/null
+++ b/mcp/reclass/classes/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/mcp/reclass/classes/system/galera/server/database/grafana.yml b/mcp/reclass/classes/system/galera/server/database/grafana.yml
new file mode 100644
index 000000000..fa4742e96
--- /dev/null
+++ b/mcp/reclass/classes/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/mcp/reclass/classes/system/galera/server/database/graphite.yml b/mcp/reclass/classes/system/galera/server/database/graphite.yml
new file mode 100644
index 000000000..8ba6efdd8
--- /dev/null
+++ b/mcp/reclass/classes/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/mcp/reclass/classes/system/galera/server/database/heat.yml b/mcp/reclass/classes/system/galera/server/database/heat.yml
new file mode 100644
index 000000000..0d716d861
--- /dev/null
+++ b/mcp/reclass/classes/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/mcp/reclass/classes/system/galera/server/database/keystone.yml b/mcp/reclass/classes/system/galera/server/database/keystone.yml
new file mode 100644
index 000000000..fc2c5eb85
--- /dev/null
+++ b/mcp/reclass/classes/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/mcp/reclass/classes/system/galera/server/database/neutron.yml b/mcp/reclass/classes/system/galera/server/database/neutron.yml
new file mode 100644
index 000000000..58dd01264
--- /dev/null
+++ b/mcp/reclass/classes/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/mcp/reclass/classes/system/galera/server/database/nova.yml b/mcp/reclass/classes/system/galera/server/database/nova.yml
new file mode 100644
index 000000000..86d482168
--- /dev/null
+++ b/mcp/reclass/classes/system/galera/server/database/nova.yml
@@ -0,0 +1,37 @@
+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
+ nova_cell0:
+ 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