Remove tenant parameter from keystone_user
Puppet-swift to match recent update in keystone module. The tenant parameter was made deprecated in Kilo and to be removed in Liberty. Removing the tenant parmamter from keystone_user in dispersion.pp Change-Id: Ie86497f462e2a94819b8dbd1e4131890858af266
This commit is contained in:
@@ -40,7 +40,6 @@ class swift::keystone::dispersion(
|
||||
ensure => present,
|
||||
password => $auth_pass,
|
||||
email => $email,
|
||||
tenant => $tenant,
|
||||
}
|
||||
|
||||
keystone_user_role { "${auth_user}@${tenant}":
|
||||
|
||||
@@ -8,7 +8,6 @@ describe 'swift::keystone::dispersion' do
|
||||
:ensure => 'present',
|
||||
:password => 'dispersion_password',
|
||||
:email => 'swift@localhost',
|
||||
:tenant => 'services'
|
||||
) }
|
||||
|
||||
it { is_expected.to contain_keystone_user_role('dispersion@services').with(
|
||||
@@ -33,7 +32,6 @@ describe 'swift::keystone::dispersion' do
|
||||
:ensure => 'present',
|
||||
:password => 'foo',
|
||||
:email => 'bar@example.com',
|
||||
:tenant => 'dummyTenant'
|
||||
) }
|
||||
|
||||
it { is_expected.to contain_keystone_user_role('bar@dummyTenant') }
|
||||
|
||||
Reference in New Issue
Block a user