From a6daf4ece3f05600ad66fea55c5220d07a71cef1 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Wed, 24 May 2017 12:44:05 +0400 Subject: [mcp] Bring in reclass system salt models Change-Id: I1a865b7524f3a5242544e60e6b36b1092721c58b Signed-off-by: Michael Polenchuk --- .../classes/system/mysql/client/database/aodh.yml | 17 ++++++++++ .../system/mysql/client/database/ceilometer.yml | 17 ++++++++++ .../system/mysql/client/database/cinder.yml | 17 ++++++++++ .../system/mysql/client/database/designate.yml | 17 ++++++++++ .../client/database/designate_pool_manager.yml | 17 ++++++++++ .../system/mysql/client/database/glance.yml | 17 ++++++++++ .../system/mysql/client/database/grafana.yml | 17 ++++++++++ .../classes/system/mysql/client/database/heat.yml | 17 ++++++++++ .../system/mysql/client/database/keystone.yml | 17 ++++++++++ .../system/mysql/client/database/murano.yml | 17 ++++++++++ .../system/mysql/client/database/neutron.yml | 17 ++++++++++ .../classes/system/mysql/client/database/nova.yml | 17 ++++++++++ .../system/mysql/client/database/nova_api.yml | 28 ++++++++++++++++ .../system/mysql/client/database/sahara.yml | 17 ++++++++++ .../system/mysql/client/database_init/aodh.yml | 15 +++++++++ .../mysql/client/database_init/ceilometer.yml | 15 +++++++++ .../system/mysql/client/database_init/cinder.yml | 15 +++++++++ .../mysql/client/database_init/designate.yml | 15 +++++++++ .../database_init/designate_pool_manager.yml | 15 +++++++++ .../system/mysql/client/database_init/glance.yml | 15 +++++++++ .../system/mysql/client/database_init/grafana.yml | 15 +++++++++ .../system/mysql/client/database_init/heat.yml | 15 +++++++++ .../system/mysql/client/database_init/keystone.yml | 15 +++++++++ .../system/mysql/client/database_init/murano.yml | 15 +++++++++ .../system/mysql/client/database_init/neutron.yml | 15 +++++++++ .../system/mysql/client/database_init/nova.yml | 15 +++++++++ .../system/mysql/client/database_init/nova_api.yml | 21 ++++++++++++ .../system/mysql/client/database_init/sahara.yml | 15 +++++++++ .../system/mysql/client/database_upgrade/aodh.yml | 23 +++++++++++++ .../mysql/client/database_upgrade/ceilometer.yml | 23 +++++++++++++ .../mysql/client/database_upgrade/cinder.yml | 22 +++++++++++++ .../mysql/client/database_upgrade/designate.yml | 22 +++++++++++++ .../database_upgrade/designate_pool_manager.yml | 22 +++++++++++++ .../mysql/client/database_upgrade/glance.yml | 22 +++++++++++++ .../mysql/client/database_upgrade/grafana.yml | 22 +++++++++++++ .../system/mysql/client/database_upgrade/heat.yml | 22 +++++++++++++ .../mysql/client/database_upgrade/keystone.yml | 22 +++++++++++++ .../mysql/client/database_upgrade/murano.yml | 22 +++++++++++++ .../mysql/client/database_upgrade/neutron.yml | 22 +++++++++++++ .../system/mysql/client/database_upgrade/nova.yml | 22 +++++++++++++ .../mysql/client/database_upgrade/nova_api.yml | 38 ++++++++++++++++++++++ .../mysql/client/database_upgrade/sahara.yml | 22 +++++++++++++ mcp/reclass/classes/system/mysql/client/init.yml | 14 ++++++++ mcp/reclass/classes/system/mysql/client/single.yml | 11 +++++++ .../classes/system/mysql/client/single_init.yml | 24 ++++++++++++++ .../classes/system/mysql/client/single_upgrade.yml | 25 ++++++++++++++ 46 files changed, 865 insertions(+) create mode 100644 mcp/reclass/classes/system/mysql/client/database/aodh.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database/ceilometer.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database/cinder.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database/designate.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database/designate_pool_manager.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database/glance.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database/grafana.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database/heat.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database/keystone.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database/murano.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database/neutron.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database/nova.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database/nova_api.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database/sahara.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_init/aodh.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_init/ceilometer.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_init/cinder.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_init/designate.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_init/designate_pool_manager.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_init/glance.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_init/grafana.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_init/heat.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_init/keystone.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_init/murano.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_init/neutron.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_init/nova.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_init/nova_api.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_init/sahara.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_upgrade/aodh.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_upgrade/ceilometer.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_upgrade/cinder.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_upgrade/designate.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_upgrade/designate_pool_manager.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_upgrade/glance.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_upgrade/grafana.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_upgrade/heat.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_upgrade/keystone.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_upgrade/murano.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_upgrade/neutron.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_upgrade/nova.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_upgrade/nova_api.yml create mode 100644 mcp/reclass/classes/system/mysql/client/database_upgrade/sahara.yml create mode 100644 mcp/reclass/classes/system/mysql/client/init.yml create mode 100644 mcp/reclass/classes/system/mysql/client/single.yml create mode 100644 mcp/reclass/classes/system/mysql/client/single_init.yml create mode 100644 mcp/reclass/classes/system/mysql/client/single_upgrade.yml (limited to 'mcp/reclass/classes/system/mysql/client') diff --git a/mcp/reclass/classes/system/mysql/client/database/aodh.yml b/mcp/reclass/classes/system/mysql/client/database/aodh.yml new file mode 100644 index 000000000..92a2b2929 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database/aodh.yml @@ -0,0 +1,17 @@ +parameters: + mysql: + client: + server: + database: + database: + aodh: + encoding: utf8 + users: + - name: aodh + password: ${_param:mysql_aodh_password} + host: '%' + rights: all + - name: aodh + password: ${_param:mysql_aodh_password} + host: ${_param:single_address} + rights: all \ No newline at end of file diff --git a/mcp/reclass/classes/system/mysql/client/database/ceilometer.yml b/mcp/reclass/classes/system/mysql/client/database/ceilometer.yml new file mode 100644 index 000000000..436bf9755 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database/ceilometer.yml @@ -0,0 +1,17 @@ +parameters: + mysql: + client: + server: + database: + database: + ceilometer: + encoding: utf8 + users: + - name: ceilometer + password: ${_param:mysql_ceilometer_password} + host: '%' + rights: all + - name: ceilometer + password: ${_param:mysql_ceilometer_password} + host: ${_param:single_address} + rights: all diff --git a/mcp/reclass/classes/system/mysql/client/database/cinder.yml b/mcp/reclass/classes/system/mysql/client/database/cinder.yml new file mode 100644 index 000000000..4d6783b07 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database/cinder.yml @@ -0,0 +1,17 @@ +parameters: + mysql: + client: + server: + database: + database: + cinder: + encoding: utf8 + users: + - name: cinder + password: ${_param:mysql_cinder_password} + host: '%' + rights: all + - name: cinder + password: ${_param:mysql_cinder_password} + host: ${_param:single_address} + rights: all diff --git a/mcp/reclass/classes/system/mysql/client/database/designate.yml b/mcp/reclass/classes/system/mysql/client/database/designate.yml new file mode 100644 index 000000000..cee6ff135 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database/designate.yml @@ -0,0 +1,17 @@ +parameters: + mysql: + client: + server: + database: + database: + designate: + encoding: utf8 + users: + - name: designate + password: ${_param:mysql_designate_password} + host: '%' + rights: all + - name: designate + password: ${_param:mysql_designate_password} + host: ${_param:single_address} + rights: all \ No newline at end of file diff --git a/mcp/reclass/classes/system/mysql/client/database/designate_pool_manager.yml b/mcp/reclass/classes/system/mysql/client/database/designate_pool_manager.yml new file mode 100644 index 000000000..6913bd450 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database/designate_pool_manager.yml @@ -0,0 +1,17 @@ +parameters: + mysql: + client: + server: + database: + database: + designate_pool_manager: + encoding: utf8 + users: + - name: designate + password: ${_param:mysql_designate_password} + host: '%' + rights: all + - name: designate + password: ${_param:mysql_designate_password} + host: ${_param:single_address} + rights: all diff --git a/mcp/reclass/classes/system/mysql/client/database/glance.yml b/mcp/reclass/classes/system/mysql/client/database/glance.yml new file mode 100644 index 000000000..b93b3434a --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database/glance.yml @@ -0,0 +1,17 @@ +parameters: + mysql: + client: + server: + database: + database: + glance: + encoding: utf8 + users: + - name: glance + password: ${_param:mysql_glance_password} + host: '%' + rights: all + - name: glance + password: ${_param:mysql_glance_password} + host: ${_param:single_address} + rights: all diff --git a/mcp/reclass/classes/system/mysql/client/database/grafana.yml b/mcp/reclass/classes/system/mysql/client/database/grafana.yml new file mode 100644 index 000000000..a2899f060 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database/grafana.yml @@ -0,0 +1,17 @@ +parameters: + mysql: + client: + server: + database: + database: + grafana: + encoding: utf8 + users: + - name: grafana + password: ${_param:mysql_grafana_password} + host: '%' + rights: all + - name: grafana + password: ${_param:mysql_grafana_password} + host: ${_param:single_address} + rights: all diff --git a/mcp/reclass/classes/system/mysql/client/database/heat.yml b/mcp/reclass/classes/system/mysql/client/database/heat.yml new file mode 100644 index 000000000..51aae8fbb --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database/heat.yml @@ -0,0 +1,17 @@ +parameters: + mysql: + client: + server: + database: + database: + heat: + encoding: utf8 + users: + - name: heat + password: ${_param:mysql_heat_password} + host: '%' + rights: all + - name: heat + password: ${_param:mysql_heat_password} + host: ${_param:single_address} + rights: all diff --git a/mcp/reclass/classes/system/mysql/client/database/keystone.yml b/mcp/reclass/classes/system/mysql/client/database/keystone.yml new file mode 100644 index 000000000..09885dd85 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database/keystone.yml @@ -0,0 +1,17 @@ +parameters: + mysql: + client: + server: + database: + database: + keystone: + encoding: utf8 + users: + - name: keystone + password: ${_param:mysql_keystone_password} + host: '%' + rights: all + - name: keystone + password: ${_param:mysql_keystone_password} + host: ${_param:single_address} + rights: all diff --git a/mcp/reclass/classes/system/mysql/client/database/murano.yml b/mcp/reclass/classes/system/mysql/client/database/murano.yml new file mode 100644 index 000000000..561ea3dcd --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database/murano.yml @@ -0,0 +1,17 @@ +parameters: + mysql: + client: + server: + database: + database: + murano: + encoding: utf8 + users: + - name: murano + password: ${_param:mysql_murano_password} + host: '%' + rights: all + - name: murano + password: ${_param:mysql_murano_password} + host: ${_param:single_address} + rights: all \ No newline at end of file diff --git a/mcp/reclass/classes/system/mysql/client/database/neutron.yml b/mcp/reclass/classes/system/mysql/client/database/neutron.yml new file mode 100644 index 000000000..94d972253 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database/neutron.yml @@ -0,0 +1,17 @@ +parameters: + mysql: + client: + server: + database: + database: + neutron: + encoding: utf8 + users: + - name: neutron + password: ${_param:mysql_neutron_password} + host: '%' + rights: all + - name: neutron + password: ${_param:mysql_neutron_password} + host: ${_param:single_address} + rights: all diff --git a/mcp/reclass/classes/system/mysql/client/database/nova.yml b/mcp/reclass/classes/system/mysql/client/database/nova.yml new file mode 100644 index 000000000..930b2805a --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database/nova.yml @@ -0,0 +1,17 @@ +parameters: + mysql: + client: + server: + database: + database: + nova: + encoding: utf8 + users: + - name: nova + password: ${_param:mysql_nova_password} + host: '%' + rights: all + - name: nova + password: ${_param:mysql_nova_password} + host: ${_param:single_address} + rights: all diff --git a/mcp/reclass/classes/system/mysql/client/database/nova_api.yml b/mcp/reclass/classes/system/mysql/client/database/nova_api.yml new file mode 100644 index 000000000..a8fbd59f0 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database/nova_api.yml @@ -0,0 +1,28 @@ +parameters: + mysql: + client: + server: + database: + database: + nova_api: + encoding: utf8 + users: + - name: nova + password: ${_param:mysql_nova_password} + host: '%' + rights: all + - name: nova + password: ${_param:mysql_nova_password} + host: ${_param:single_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:single_address} + rights: all diff --git a/mcp/reclass/classes/system/mysql/client/database/sahara.yml b/mcp/reclass/classes/system/mysql/client/database/sahara.yml new file mode 100644 index 000000000..86497d8e8 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database/sahara.yml @@ -0,0 +1,17 @@ +parameters: + mysql: + client: + server: + database: + database: + sahara: + encoding: utf8 + users: + - name: sahara + password: ${_param:mysql_sahara_password} + host: '%' + rights: all + - name: sahara + password: ${_param:mysql_sahara_password} + host: ${_param:single_address} + rights: all diff --git a/mcp/reclass/classes/system/mysql/client/database_init/aodh.yml b/mcp/reclass/classes/system/mysql/client/database_init/aodh.yml new file mode 100644 index 000000000..5a88169a7 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_init/aodh.yml @@ -0,0 +1,15 @@ +classes: +- system.mysql.client.database.aodh +parameters: + mysql: + client: + enabled: true + server: + database: + database: + aodh: + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: aodh diff --git a/mcp/reclass/classes/system/mysql/client/database_init/ceilometer.yml b/mcp/reclass/classes/system/mysql/client/database_init/ceilometer.yml new file mode 100644 index 000000000..7f13c6d67 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_init/ceilometer.yml @@ -0,0 +1,15 @@ +classes: +- system.mysql.client.database.ceilometer +parameters: + mysql: + client: + enabled: true + server: + database: + database: + ceilometer: + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: ceilometer diff --git a/mcp/reclass/classes/system/mysql/client/database_init/cinder.yml b/mcp/reclass/classes/system/mysql/client/database_init/cinder.yml new file mode 100644 index 000000000..9614aad0d --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_init/cinder.yml @@ -0,0 +1,15 @@ +classes: +- system.mysql.client.database.cinder +parameters: + mysql: + client: + enabled: true + server: + database: + database: + cinder: + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: cinder diff --git a/mcp/reclass/classes/system/mysql/client/database_init/designate.yml b/mcp/reclass/classes/system/mysql/client/database_init/designate.yml new file mode 100644 index 000000000..99d0036c5 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_init/designate.yml @@ -0,0 +1,15 @@ +classes: +- system.mysql.client.database.designate +parameters: + mysql: + client: + enabled: true + server: + database: + database: + designate: + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: designate diff --git a/mcp/reclass/classes/system/mysql/client/database_init/designate_pool_manager.yml b/mcp/reclass/classes/system/mysql/client/database_init/designate_pool_manager.yml new file mode 100644 index 000000000..6a5b385ed --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_init/designate_pool_manager.yml @@ -0,0 +1,15 @@ +classes: +- system.mysql.client.database.designate_pool_manager +parameters: + mysql: + client: + enabled: true + server: + database: + database: + designate_pool_manager: + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: designate_pool_manager diff --git a/mcp/reclass/classes/system/mysql/client/database_init/glance.yml b/mcp/reclass/classes/system/mysql/client/database_init/glance.yml new file mode 100644 index 000000000..703c603b2 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_init/glance.yml @@ -0,0 +1,15 @@ +classes: +- system.mysql.client.database.glance +parameters: + mysql: + client: + enabled: true + server: + database: + database: + glance: + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: glance diff --git a/mcp/reclass/classes/system/mysql/client/database_init/grafana.yml b/mcp/reclass/classes/system/mysql/client/database_init/grafana.yml new file mode 100644 index 000000000..aeb2e2630 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_init/grafana.yml @@ -0,0 +1,15 @@ +classes: +- system.mysql.client.database.grafana +parameters: + mysql: + client: + enabled: true + server: + database: + database: + grafana: + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: grafana diff --git a/mcp/reclass/classes/system/mysql/client/database_init/heat.yml b/mcp/reclass/classes/system/mysql/client/database_init/heat.yml new file mode 100644 index 000000000..c7a0f00c3 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_init/heat.yml @@ -0,0 +1,15 @@ +classes: +- system.mysql.client.database.heat +parameters: + mysql: + client: + enabled: true + server: + database: + database: + heat: + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: heat diff --git a/mcp/reclass/classes/system/mysql/client/database_init/keystone.yml b/mcp/reclass/classes/system/mysql/client/database_init/keystone.yml new file mode 100644 index 000000000..555cae6df --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_init/keystone.yml @@ -0,0 +1,15 @@ +classes: +- system.mysql.client.database.keystone +parameters: + mysql: + client: + enabled: true + server: + database: + database: + keystone: + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: keystone diff --git a/mcp/reclass/classes/system/mysql/client/database_init/murano.yml b/mcp/reclass/classes/system/mysql/client/database_init/murano.yml new file mode 100644 index 000000000..13515e708 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_init/murano.yml @@ -0,0 +1,15 @@ +classes: +- system.mysql.client.database.murano +parameters: + mysql: + client: + enabled: true + server: + database: + database: + murano: + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: murano diff --git a/mcp/reclass/classes/system/mysql/client/database_init/neutron.yml b/mcp/reclass/classes/system/mysql/client/database_init/neutron.yml new file mode 100644 index 000000000..405f3e6b1 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_init/neutron.yml @@ -0,0 +1,15 @@ +classes: +- system.mysql.client.database.neutron +parameters: + mysql: + client: + enabled: true + server: + database: + database: + neutron: + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: neutron diff --git a/mcp/reclass/classes/system/mysql/client/database_init/nova.yml b/mcp/reclass/classes/system/mysql/client/database_init/nova.yml new file mode 100644 index 000000000..f1ee6cf47 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_init/nova.yml @@ -0,0 +1,15 @@ +classes: +- system.mysql.client.database.nova +parameters: + mysql: + client: + enabled: true + server: + database: + database: + nova: + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: nova diff --git a/mcp/reclass/classes/system/mysql/client/database_init/nova_api.yml b/mcp/reclass/classes/system/mysql/client/database_init/nova_api.yml new file mode 100644 index 000000000..2fa8630a7 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_init/nova_api.yml @@ -0,0 +1,21 @@ +classes: +- system.mysql.client.database.nova_api +parameters: + mysql: + client: + enabled: true + server: + database: + database: + nova_api: + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: nova_api + nova_cell0: + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: nova_cell0 diff --git a/mcp/reclass/classes/system/mysql/client/database_init/sahara.yml b/mcp/reclass/classes/system/mysql/client/database_init/sahara.yml new file mode 100644 index 000000000..ef3d981e0 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_init/sahara.yml @@ -0,0 +1,15 @@ +classes: +- system.mysql.client.database.sahara +parameters: + mysql: + client: + enabled: true + server: + database: + database: + sahara: + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: sahara diff --git a/mcp/reclass/classes/system/mysql/client/database_upgrade/aodh.yml b/mcp/reclass/classes/system/mysql/client/database_upgrade/aodh.yml new file mode 100644 index 000000000..d363161f6 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_upgrade/aodh.yml @@ -0,0 +1,23 @@ +parameters: + mysql: + client: + server: + database: + database: + aodh_upgrade: + encoding: utf8 + users: + - name: aodh + password: ${_param:mysql_aodh_password} + host: '%' + rights: all + - name: aodh + password: ${_param:mysql_aodh_password} + host: ${_param:single_address} + rights: all + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: aodh + diff --git a/mcp/reclass/classes/system/mysql/client/database_upgrade/ceilometer.yml b/mcp/reclass/classes/system/mysql/client/database_upgrade/ceilometer.yml new file mode 100644 index 000000000..5344b4bd9 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_upgrade/ceilometer.yml @@ -0,0 +1,23 @@ +parameters: + mysql: + client: + server: + database: + database: + ceilometer_upgrade: + encoding: utf8 + users: + - name: ceilometer + password: ${_param:mysql_ceilometer_password} + host: '%' + rights: all + - name: ceilometer + password: ${_param:mysql_ceilometer_password} + host: ${_param:single_address} + rights: all + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: ceilometer + diff --git a/mcp/reclass/classes/system/mysql/client/database_upgrade/cinder.yml b/mcp/reclass/classes/system/mysql/client/database_upgrade/cinder.yml new file mode 100644 index 000000000..bafc70ddd --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_upgrade/cinder.yml @@ -0,0 +1,22 @@ +parameters: + mysql: + client: + server: + database: + database: + cinder_upgrade: + encoding: utf8 + users: + - name: cinder + password: ${_param:mysql_cinder_password} + host: '%' + rights: all + - name: cinder + password: ${_param:mysql_cinder_password} + host: ${_param:single_address} + rights: all + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: cinder \ No newline at end of file diff --git a/mcp/reclass/classes/system/mysql/client/database_upgrade/designate.yml b/mcp/reclass/classes/system/mysql/client/database_upgrade/designate.yml new file mode 100644 index 000000000..48b7fce64 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_upgrade/designate.yml @@ -0,0 +1,22 @@ +parameters: + mysql: + client: + server: + database: + database: + designate_upgrade: + encoding: utf8 + users: + - name: designate + password: ${_param:mysql_designate_password} + host: '%' + rights: all + - name: designate + password: ${_param:mysql_designate_password} + host: ${_param:single_address} + rights: all + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: designate \ No newline at end of file diff --git a/mcp/reclass/classes/system/mysql/client/database_upgrade/designate_pool_manager.yml b/mcp/reclass/classes/system/mysql/client/database_upgrade/designate_pool_manager.yml new file mode 100644 index 000000000..26dd9756f --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_upgrade/designate_pool_manager.yml @@ -0,0 +1,22 @@ +parameters: + mysql: + client: + server: + database: + database: + designate_pool_manager_upgrade: + encoding: utf8 + users: + - name: designate + password: ${_param:mysql_designate_password} + host: '%' + rights: all + - name: designate + password: ${_param:mysql_designate_password} + host: ${_param:single_address} + rights: all + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: designate_pool_manager \ No newline at end of file diff --git a/mcp/reclass/classes/system/mysql/client/database_upgrade/glance.yml b/mcp/reclass/classes/system/mysql/client/database_upgrade/glance.yml new file mode 100644 index 000000000..bebe6047d --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_upgrade/glance.yml @@ -0,0 +1,22 @@ +parameters: + mysql: + client: + server: + database: + database: + glance_upgrade: + encoding: utf8 + users: + - name: glance + password: ${_param:mysql_glance_password} + host: '%' + rights: all + - name: glance + password: ${_param:mysql_glance_password} + host: ${_param:single_address} + rights: all + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: glance diff --git a/mcp/reclass/classes/system/mysql/client/database_upgrade/grafana.yml b/mcp/reclass/classes/system/mysql/client/database_upgrade/grafana.yml new file mode 100644 index 000000000..7759a66cc --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_upgrade/grafana.yml @@ -0,0 +1,22 @@ +parameters: + mysql: + client: + server: + database: + database: + grafana_upgrade: + encoding: utf8 + users: + - name: grafana + password: ${_param:mysql_grafana_password} + host: '%' + rights: all + - name: grafana + password: ${_param:mysql_grafana_password} + host: ${_param:single_address} + rights: all + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: grafana \ No newline at end of file diff --git a/mcp/reclass/classes/system/mysql/client/database_upgrade/heat.yml b/mcp/reclass/classes/system/mysql/client/database_upgrade/heat.yml new file mode 100644 index 000000000..24e4cb1fd --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_upgrade/heat.yml @@ -0,0 +1,22 @@ +parameters: + mysql: + client: + server: + database: + database: + heat_upgrade: + encoding: utf8 + users: + - name: heat + password: ${_param:mysql_heat_password} + host: '%' + rights: all + - name: heat + password: ${_param:mysql_heat_password} + host: ${_param:single_address} + rights: all + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: heat \ No newline at end of file diff --git a/mcp/reclass/classes/system/mysql/client/database_upgrade/keystone.yml b/mcp/reclass/classes/system/mysql/client/database_upgrade/keystone.yml new file mode 100644 index 000000000..826566261 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_upgrade/keystone.yml @@ -0,0 +1,22 @@ +parameters: + mysql: + client: + server: + database: + database: + keystone_upgrade: + encoding: utf8 + users: + - name: keystone + password: ${_param:mysql_keystone_password} + host: '%' + rights: all + - name: keystone + password: ${_param:mysql_keystone_password} + host: ${_param:single_address} + rights: all + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: keystone \ No newline at end of file diff --git a/mcp/reclass/classes/system/mysql/client/database_upgrade/murano.yml b/mcp/reclass/classes/system/mysql/client/database_upgrade/murano.yml new file mode 100644 index 000000000..2223ce687 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_upgrade/murano.yml @@ -0,0 +1,22 @@ +parameters: + mysql: + client: + server: + database: + database: + murano_upgrade: + encoding: utf8 + users: + - name: murano + password: ${_param:mysql_murano_password} + host: '%' + rights: all + - name: murano + password: ${_param:mysql_murano_password} + host: ${_param:single_address} + rights: all + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: murano \ No newline at end of file diff --git a/mcp/reclass/classes/system/mysql/client/database_upgrade/neutron.yml b/mcp/reclass/classes/system/mysql/client/database_upgrade/neutron.yml new file mode 100644 index 000000000..7dd723c6f --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_upgrade/neutron.yml @@ -0,0 +1,22 @@ +parameters: + mysql: + client: + server: + database: + database: + neutron_upgrade: + encoding: utf8 + users: + - name: neutron + password: ${_param:mysql_neutron_password} + host: '%' + rights: all + - name: neutron + password: ${_param:mysql_neutron_password} + host: ${_param:single_address} + rights: all + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: neutron \ No newline at end of file diff --git a/mcp/reclass/classes/system/mysql/client/database_upgrade/nova.yml b/mcp/reclass/classes/system/mysql/client/database_upgrade/nova.yml new file mode 100644 index 000000000..699c9c310 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_upgrade/nova.yml @@ -0,0 +1,22 @@ +parameters: + mysql: + client: + server: + database: + database: + nova_upgrade: + encoding: utf8 + users: + - name: nova + password: ${_param:mysql_nova_password} + host: '%' + rights: all + - name: nova + password: ${_param:mysql_nova_password} + host: ${_param:single_address} + rights: all + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: nova \ No newline at end of file diff --git a/mcp/reclass/classes/system/mysql/client/database_upgrade/nova_api.yml b/mcp/reclass/classes/system/mysql/client/database_upgrade/nova_api.yml new file mode 100644 index 000000000..8bb33c8f9 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_upgrade/nova_api.yml @@ -0,0 +1,38 @@ +parameters: + mysql: + client: + server: + database: + database: + nova_upgrade_api: + encoding: utf8 + users: + - name: nova + password: ${_param:mysql_nova_password} + host: '%' + rights: all + - name: nova + password: ${_param:mysql_nova_password} + host: ${_param:single_address} + rights: all + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: nova_api + nova_upgrade_cell0: + encoding: utf8 + users: + - name: nova + password: ${_param:mysql_nova_password} + host: '%' + rights: all + - name: nova + password: ${_param:mysql_nova_password} + host: ${_param:single_address} + rights: all + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: nova_cell0 \ No newline at end of file diff --git a/mcp/reclass/classes/system/mysql/client/database_upgrade/sahara.yml b/mcp/reclass/classes/system/mysql/client/database_upgrade/sahara.yml new file mode 100644 index 000000000..73618d07a --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/database_upgrade/sahara.yml @@ -0,0 +1,22 @@ +parameters: + mysql: + client: + server: + database: + database: + sahara_upgrade: + encoding: utf8 + users: + - name: sahara + password: ${_param:mysql_sahara_password} + host: '%' + rights: all + - name: sahara + password: ${_param:mysql_sahara_password} + host: ${_param:single_address} + rights: all + initial_data: + engine: backupninja + source: ${_param:backupninja_backup_host} + host: ${linux:network:fqdn} + database: sahara \ No newline at end of file diff --git a/mcp/reclass/classes/system/mysql/client/init.yml b/mcp/reclass/classes/system/mysql/client/init.yml new file mode 100644 index 000000000..4cea41a77 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/init.yml @@ -0,0 +1,14 @@ +parameters: + _param: + mysql_client_host: localhost + mysql: + client: + enabled: true + server: + database: + admin: + host: ${_param:mysql_client_host} + port: 3306 + user: ${_param:mysql_admin_user} + password: ${_param:mysql_admin_password} + encoding: utf8 diff --git a/mcp/reclass/classes/system/mysql/client/single.yml b/mcp/reclass/classes/system/mysql/client/single.yml new file mode 100644 index 000000000..f518a878a --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/single.yml @@ -0,0 +1,11 @@ +classes: +- system.mysql.client +- system.mysql.client.database.aodh +- system.mysql.client.database.ceilometer +- system.mysql.client.database.cinder +- system.mysql.client.database.glance +- system.mysql.client.database.heat +- system.mysql.client.database.keystone +- system.mysql.client.database.nova +- system.mysql.client.database.nova_api +- system.mysql.client.database.neutron diff --git a/mcp/reclass/classes/system/mysql/client/single_init.yml b/mcp/reclass/classes/system/mysql/client/single_init.yml new file mode 100644 index 000000000..0c2004991 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/single_init.yml @@ -0,0 +1,24 @@ +classes: +- system.mysql.client.database_init.aodh +- system.mysql.client.database_init.ceilometer +- system.mysql.client.database_init.cinder +- system.mysql.client.database_init.glance +- system.mysql.client.database_init.heat +- system.mysql.client.database_init.keystone +- system.mysql.client.database_init.nova +- system.mysql.client.database_init.nova_api +- system.mysql.client.database_init.neutron +parameters: + _param: + mysql_client_host: localhost + mysql: + client: + enabled: true + server: + database: + admin: + host: ${_param:mysql_client_host} + port: 3306 + user: ${_param:mysql_admin_user} + password: ${_param:mysql_admin_password} + encoding: utf8 diff --git a/mcp/reclass/classes/system/mysql/client/single_upgrade.yml b/mcp/reclass/classes/system/mysql/client/single_upgrade.yml new file mode 100644 index 000000000..595d3f7b0 --- /dev/null +++ b/mcp/reclass/classes/system/mysql/client/single_upgrade.yml @@ -0,0 +1,25 @@ +classes: +- system.mysql.client.database_upgrade.aodh +- system.mysql.client.database_upgrade.ceilometer +- system.mysql.client.database_upgrade.cinder +- system.mysql.client.database_upgrade.glance +- system.mysql.client.database_upgrade.heat +- system.mysql.client.database_upgrade.keystone +- system.mysql.client.database_upgrade.nova +- system.mysql.client.database_upgrade.nova_api +- system.mysql.client.database_upgrade.neutron +- service.mysql.client.single +parameters: + _param: + mysql_client_host: localhost + mysql: + client: + enabled: true + server: + database: + admin: + host: ${_param:mysql_client_host} + port: 3306 + user: ${_param:mysql_admin_user} + password: ${_param:mysql_admin_password} + encoding: utf8 -- cgit 1.2.3-korg