diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-01-10 04:14:03 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-01-10 04:14:03 +0000 |
commit | 50e483f77e9d8a322a5afd5a20504b78bd48397c (patch) | |
tree | 71bc670a6f78887e9eeb08d1ae2db1e9b419e7ec /spec/classes | |
parent | 77cd102c9a96c1be4bef7f8afb95f300c06d2134 (diff) | |
parent | bbf13fe1d5dd242ce370afbdb7bb13db77d53d7f (diff) |
Merge "Add support for not using admin_token in Ceph/RGW"
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| |