diff options
author | Giulio Fidente <gfidente@redhat.com> | 2016-06-29 12:59:53 +0200 |
---|---|---|
committer | Emilien Macchi <emilien@redhat.com> | 2016-07-09 04:33:01 +0000 |
commit | 135fb6746d3fe1fbb19681c890ff9d1ab075fdab (patch) | |
tree | adaf1638f6a738191b486746e76d5eca4f91a580 /puppet/services | |
parent | 43cd92aa0abb9d7b3e9e771f0dec5775080a6d43 (diff) |
Move sahara::db data within service template
Change-Id: Ifb87f79e8cd692e6553d03df8394c74f51821e11
Diffstat (limited to 'puppet/services')
-rw-r--r-- | puppet/services/sahara-engine.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
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 |