diff options
author | Derek Higgins <derekh@redhat.com> | 2015-04-30 14:50:15 +0100 |
---|---|---|
committer | Derek Higgins <derekh@redhat.com> | 2015-05-01 17:06:49 +0100 |
commit | 1db5013abd4b9ab14b254690f2a27d7299957b75 (patch) | |
tree | a45ec3cc82b50623d09161c4afe136c4dec422b9 /puppet/cinder-storage-puppet.yaml | |
parent | d3ad26e0ecf6634d0437235abd89f9f0d282d020 (diff) |
Reuse the various service passwords as db passwords.
We need to stop using "unset" as the password for all databases. Ideally we
would add a "XxxxDSN" parameter (e.g. KeystoneDSN) but this wont work because
we don't know the VirtualIP to pass in.
Until we can come up with a better solution we should at least get rid of
the "unset" passwords.
Change-Id: I31f45912fa9c116ccdee010a2c5d91ea43a25671
Depends-On: I8ffe1eb481f615b0fbe127cd8107f1e70794c839
Diffstat (limited to 'puppet/cinder-storage-puppet.yaml')
-rw-r--r-- | puppet/cinder-storage-puppet.yaml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/puppet/cinder-storage-puppet.yaml b/puppet/cinder-storage-puppet.yaml index de96809a..ab7bb8a8 100644 --- a/puppet/cinder-storage-puppet.yaml +++ b/puppet/cinder-storage-puppet.yaml @@ -16,6 +16,11 @@ parameters: default: 5000 description: The size of the loopback file used by the cinder LVM driver. type: number + CinderPassword: + default: unset + description: The password for the cinder service and db account, used by cinder-api. + type: string + hidden: true Debug: default: '' description: Set to True to enable debugging on all services. @@ -139,7 +144,7 @@ resources: config: {get_resource: BlockStorageConfig} input_values: debug: {get_param: Debug} - cinder_dsn: {list_join: ['', ['mysql://cinder:unset@', {get_param: VirtualIP} , '/cinder']]} + cinder_dsn: {list_join: ['', ['mysql://cinder:', {get_param: CinderPassword}, '@', {get_param: VirtualIP} , '/cinder']]} snmpd_readonly_user_name: {get_param: SnmpdReadonlyUserName} snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword} cinder_lvm_loop_device_size: |