| depends: |
|
|---|---|
| configuration: |
See |
Keystone tenants:
keystone.tenant_present:
- names:
- admin
- demo
- service
Keystone roles:
keystone.role_present:
- names:
- admin
- Member
admin:
keystone.user_present:
- password: R00T_4CC3SS
- email: [email protected]
- roles:
admin: # tenants
- admin # roles
service:
- admin
- Member
- require:
- keystone: Keystone tenants
- keystone: Keystone roles
nova:
keystone.user_present:
- password: '$up3rn0v4'
- email: [email protected]
- tenant: service
- roles:
service:
- admin
- require:
- keystone: Keystone tenants
- keystone: Keystone roles
demo:
keystone.user_present:
- password: 'd3m0n$trati0n'
- email: [email protected]
- tenant: demo
- roles:
demo:
- Member
- require:
- keystone: Keystone tenants
- keystone: Keystone roles
nova service:
keystone.service_present:
- name: nova
- service_type: compute
- description: OpenStack Compute Service Ensure that the endpoint for a service doesn't exist in Keystone catalog
RegionOne.Ensure the specified endpoints exists for service
Ensure that the keystone project is absent. Alias for tenant_absent from V2 API to fulfill V3 API naming convention.
New in version 2016.11.0.
delete_nova:
keystone.project_absent:
- name: nova Ensures that the keystone project exists Alias for tenant_present from V2 API to fulfill V3 API naming convention.
New in version 2016.11.0.
nova:
keystone.project_present:
- enabled: True
- description: 'Nova Compute Service' Ensure that the keystone role is absent.
' Ensures that the keystone role exists
Ensure that the service doesn't exist in Keystone catalog
Ensure service present in Keystone catalog
Ensure that the keystone tenant is absent.
Ensures that the keystone tenant exists
Ensure that the keystone user is absent.
Ensure that the keystone user is present with the specified properties.
The password to use for this user.
Note
If the user already exists and a different password was set for the user than the one specified here, the password for the user will be updated. Please set the password_reset option to False if this is not the desired behavior.
True.The roles the user should have under given tenants. Passed as a dictionary mapping tenant names to a list of roles in this tenant, i.e.:
roles:
admin: # tenant
- admin # role
service:
- admin
- Member
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/states/all/salt.states.keystone.html