Pass operator_roles to swift::keystone::auth

Passing operator_roles to swift::keystone::auth will ensure the
roles are created. This resolves a Tempest failure where it expects
the ResellerAdmin role to exist.

Change-Id: I83c61b52ad9a6e57f869fe6496fa269567951261
This commit is contained in:
David Moreau Simard 2016-03-01 16:55:42 -05:00
parent 7b0335145b
commit 1f1fb68aaf

View File

@ -7,6 +7,7 @@ $swift_v3_url = "${swift_protocol}://${swift_host}:$swift_port"
class { '::swift::keystone::auth': class { '::swift::keystone::auth':
region => hiera('CONFIG_KEYSTONE_REGION'), region => hiera('CONFIG_KEYSTONE_REGION'),
password => hiera('CONFIG_SWIFT_KS_PW'), password => hiera('CONFIG_SWIFT_KS_PW'),
operator_roles => ['admin', 'SwiftOperator', 'ResellerAdmin'],
public_url => $swift_url, public_url => $swift_url,
internal_url => $swift_url, internal_url => $swift_url,
admin_url => $swift_url, admin_url => $swift_url,