summaryrefslogtreecommitdiffstats
path: root/spec/classes
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-01-10 04:14:03 +0000
committerGerrit Code Review <review@openstack.org>2017-01-10 04:14:03 +0000
commit50e483f77e9d8a322a5afd5a20504b78bd48397c (patch)
tree71bc670a6f78887e9eeb08d1ae2db1e9b419e7ec /spec/classes
parent77cd102c9a96c1be4bef7f8afb95f300c06d2134 (diff)
parentbbf13fe1d5dd242ce370afbdb7bb13db77d53d7f (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.rb11
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|