Remove redundant dependency
The keystone_user_role resource automatically ensures the user resource is already created. This change removes the redundant dependency implemented in puppet-swift. Change-Id: I3ff426b9b164fe681cc8d2c6a042a5a84aa9c81f
This commit is contained in:
parent
c465f59e01
commit
95c974c27d
@ -178,10 +178,4 @@ Please set password parameter')
|
|||||||
#Roles like "admin" may be defined elsewhere, so use ensure_resource
|
#Roles like "admin" may be defined elsewhere, so use ensure_resource
|
||||||
ensure_resource('keystone_role', $operator_roles, { 'ensure' => 'present' })
|
ensure_resource('keystone_role', $operator_roles, { 'ensure' => 'present' })
|
||||||
}
|
}
|
||||||
|
|
||||||
# Backward compatibility
|
|
||||||
if $configure_user {
|
|
||||||
Keystone_user[$auth_name] -> Keystone_user_role["${auth_name}@${tenant}"]
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user