aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/cinder-base.yaml
diff options
context:
space:
mode:
authorGiulio Fidente <gfidente@redhat.com>2016-06-29 12:55:29 +0200
committerEmilien Macchi <emilien@redhat.com>2016-07-09 04:32:29 +0000
commitbbe72038e21a2722c194f27f9b98be0649390519 (patch)
tree9ebf9b3625ffc19c3e13082ceab89c334a8d0b11 /puppet/services/cinder-base.yaml
parentdd38017922e9589f8d68b232c9a4ae21797e67f5 (diff)
Move cinder::db data within service template
Change-Id: I2aaf30289cc792e8860ca9c962d80baf7e804cbf
Diffstat (limited to 'puppet/services/cinder-base.yaml')
-rw-r--r--puppet/services/cinder-base.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/puppet/services/cinder-base.yaml b/puppet/services/cinder-base.yaml
index 85682448..f6d2b645 100644
--- a/puppet/services/cinder-base.yaml
+++ b/puppet/services/cinder-base.yaml
@@ -56,3 +56,9 @@ outputs:
cinder::rabbit_userid: {get_param: RabbitUserName}
cinder::rabbit_password: {get_param: RabbitPassword}
cinder::rabbit_port: {get_param: RabbitClientPort}
+ cinder::db::mysql::user: cinder
+ cinder::db::mysql::host: {get_param: [EndpointMap, MysqlInternal, host]}
+ cinder::db::mysql::dbname: cinder
+ cinder::db::mysql::allowed_hosts:
+ - '%'
+ - "%{hiera('mysql_bind_host')}"