diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-05-24 12:44:05 +0400 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-05-24 12:47:57 +0400 |
commit | a6daf4ece3f05600ad66fea55c5220d07a71cef1 (patch) | |
tree | 988e0e370b7c2683f10eff189f2ba7b276b24923 /mcp/reclass/classes/system/galera/server/database | |
parent | 7b4fbdd9be1a234c345b21ebf0eafcf7f5187f26 (diff) |
[mcp] Bring in reclass system salt models
Change-Id: I1a865b7524f3a5242544e60e6b36b1092721c58b
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/system/galera/server/database')
10 files changed, 169 insertions, 0 deletions
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 |