diff options
author | Keith Schincke <keith.schincke@gmail.com> | 2016-12-01 13:37:12 -0500 |
---|---|---|
committer | Giulio Fidente <gfidente@redhat.com> | 2017-01-09 18:31:33 +0100 |
commit | bbf13fe1d5dd242ce370afbdb7bb13db77d53d7f (patch) | |
tree | 40a737c43b78d9c24bd7ee66346945bdf54d7f08 /spec/classes | |
parent | 17fbadba7df13df3df5c263e27fd55d561a6b576 (diff) |
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
Diffstat (limited to 'spec/classes')
-rw-r--r-- | spec/classes/tripleo_profile_base_ceph_rgw_spec.rb | 11 |
1 files changed, 11 insertions, 0 deletions
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| |