W3cubDocs

/SaltStack

salt.states.keystone_group

Management of OpenStack Keystone Groups

New in version 2018.3.0.

depends: shade
configuration: see salt.modules.keystoneng for setup instructions

Example States

create group:
  keystone_group.present:
    - name: group1

delete group:
  keystone_group.absent:
    - name: group1

create group with optional params:
  keystone_group.present:
    - name: group1
    - domain: domain1
    - description: 'my group'

salt.states.keystone_group.absent(name, auth=None, **kwargs)

Ensure group does not exist

name
Name of the group
domain
The name or id of the domain

salt.states.keystone_group.present(name, auth=None, **kwargs)

Ensure an group exists and is up-to-date

name
Name of the group
domain
The name or id of the domain
description
An arbitrary description of the group

© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/states/all/salt.states.keystone_group.html