From bbf13fe1d5dd242ce370afbdb7bb13db77d53d7f Mon Sep 17 00:00:00 2001 From: Keith Schincke Date: Thu, 1 Dec 2016 13:37:12 -0500 Subject: Add support for not using admin_token in Ceph/RGW This patch add the option for using Keyston V3 authention with the Ceph/RGW service instead of using the admin_token Change-Id: I42861afcac221478dcb68be13b6dbc2533a7f158 --- spec/classes/tripleo_profile_base_ceph_rgw_spec.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'spec/classes') diff --git a/spec/classes/tripleo_profile_base_ceph_rgw_spec.rb b/spec/classes/tripleo_profile_base_ceph_rgw_spec.rb index 88f971b..4ebf521 100644 --- a/spec/classes/tripleo_profile_base_ceph_rgw_spec.rb +++ b/spec/classes/tripleo_profile_base_ceph_rgw_spec.rb @@ -85,6 +85,17 @@ describe 'tripleo::profile::base::ceph::rgw' do ) end end + + context 'with step 4 and keystone v3' do + let(:params) { default_params.merge({ :step => 4, :rgw_keystone_version => 'v3' }) } + it 'should include rgw configuration' do + is_expected.to contain_ceph__rgw__keystone('radosgw.gateway').with( + :rgw_keystone_accepted_roles => ["admin", "_member_", "Member"], + :use_pki => false, + :rgw_keystone_url => 'url' + ) + end + end end on_supported_os.each do |os, facts| -- cgit 1.2.3-korg