diff options
author | 2016-06-29 12:59:53 +0200 | |
---|---|---|
committer | 2016-07-09 04:33:01 +0000 | |
commit | 135fb6746d3fe1fbb19681c890ff9d1ab075fdab (patch) | |
tree | adaf1638f6a738191b486746e76d5eca4f91a580 /puppet | |
parent | 43cd92aa0abb9d7b3e9e771f0dec5775080a6d43 (diff) |
Move sahara::db data within service template
Change-Id: Ifb87f79e8cd692e6553d03df8394c74f51821e11
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/hieradata/database.yaml | 8 | ||||
-rw-r--r-- | puppet/services/sahara-engine.yaml | 6 |
2 files changed, 6 insertions, 8 deletions
diff --git a/puppet/hieradata/database.yaml b/puppet/hieradata/database.yaml index 7af1ac23..b8928f7a 100644 --- a/puppet/hieradata/database.yaml +++ b/puppet/hieradata/database.yaml @@ -52,11 +52,3 @@ aodh::db::mysql::dbname: aodh aodh::db::mysql::allowed_hosts: - '%' - "%{hiera('mysql_bind_host')}" - - -sahara::db::mysql::user: sahara -sahara::db::mysql::host: "%{hiera('mysql_virtual_ip')}" -sahara::db::mysql::dbname: sahara -sahara::db::mysql::allowed_hosts: - - '%' - - "%{hiera('mysql_bind_host')}" diff --git a/puppet/services/sahara-engine.yaml b/puppet/services/sahara-engine.yaml index 17ef49fa..f0411a35 100644 --- a/puppet/services/sahara-engine.yaml +++ b/puppet/services/sahara-engine.yaml @@ -37,5 +37,11 @@ outputs: - '/sahara' sahara::database_connection: *sahara_dsn sahara::db::mysql::password: {get_param: SaharaPassword} + sahara::db::mysql::user: sahara + sahara::db::mysql::host: {get_param: [EndpointMap, MysqlVirtual, host]} + sahara::db::mysql::dbname: sahara + sahara::db::mysql::allowed_hosts: + - '%' + - "%{hiera('mysql_bind_host')}" step_config: | include ::tripleo::profile::base::sahara::engine |