Use a single class to create 'neutron' database
Use a class instead of multiplying 'neutron' database definitions.
The class 'system.galera.server.database.neutron' will be included
only once for a node that avoids database definitions dublication.
Change-Id: Ibf318200a7cf83fe3bd00c3ca265ed3bcb989811
Closes-Bug: https://mirantis.jira.com/browse/PROD-15066
diff --git a/neutron/control/single.yml b/neutron/control/single.yml
index e412f36..7f02325 100644
--- a/neutron/control/single.yml
+++ b/neutron/control/single.yml
@@ -1,5 +1,6 @@
classes:
- service.neutron.control.single
+- system.galera.server.database.neutron
parameters:
linux:
system:
@@ -11,18 +12,3 @@
server:
database:
host: ${_param:single_address}
- 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:single_address}
- rights: all
-