Configure ceph_secret as secret
Parameter ceph_secret should be configured as a secret.
Change-Id: Iad83e8bbe3904fe4bc25570d296b804ce692161c
Closes-Bug: #1840206
(cherry picked from commit 0d83a6e5c1
)
This commit is contained in:
parent
b480da5534
commit
73c539c7d6
|
@ -83,7 +83,7 @@ class gnocchi::storage::ceph(
|
|||
'storage/driver': value => 'ceph';
|
||||
'storage/ceph_username': value => $ceph_username;
|
||||
'storage/ceph_keyring': value => $ceph_keyring;
|
||||
'storage/ceph_secret': value => $ceph_secret;
|
||||
'storage/ceph_secret': value => $ceph_secret, secret => true;
|
||||
'storage/ceph_pool': value => $ceph_pool;
|
||||
'storage/ceph_conffile': value => $ceph_conffile;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ describe 'gnocchi::storage::ceph' do
|
|||
params.merge!({
|
||||
:ceph_secret => 'secrete'})
|
||||
end
|
||||
it { is_expected.to contain_gnocchi_config('storage/ceph_secret').with_value('secrete') }
|
||||
it { is_expected.to contain_gnocchi_config('storage/ceph_secret').with_value('secrete').with_secret(true) }
|
||||
end
|
||||
|
||||
context 'without required parameters' do
|
||||
|
|
Loading…
Reference in New Issue