From 6635194603a8a6d2047a4135fb96d8dcf16b26e7 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Tue, 28 Mar 2017 17:16:29 +0800 Subject: [PATCH] Password should be secured Change-Id: I6be03076eb0a1443c230372eff032e3853368394 Closes-Bug: #1676708 --- spec/classes/heat_keystone_domain_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/classes/heat_keystone_domain_spec.rb b/spec/classes/heat_keystone_domain_spec.rb index 907a2b8c..440af032 100644 --- a/spec/classes/heat_keystone_domain_spec.rb +++ b/spec/classes/heat_keystone_domain_spec.rb @@ -13,7 +13,7 @@ describe 'heat::keystone::domain' do shared_examples_for 'heat keystone domain' do it 'configure heat.conf' do is_expected.to contain_heat_config('DEFAULT/stack_domain_admin').with_value(params[:domain_admin]) - is_expected.to contain_heat_config('DEFAULT/stack_domain_admin_password').with_value(params[:domain_password]) + is_expected.to contain_heat_config('DEFAULT/stack_domain_admin_password').with_value(params[:domain_password]).with_secret(true) is_expected.to contain_heat_config('DEFAULT/stack_domain_admin_password').with_secret(true) is_expected.to contain_heat_config('DEFAULT/stack_user_domain_name').with_value(params[:domain_name]) end