# salt.states.keystone_domain

## Management of OpenStack Keystone Domains

Added in version 2018.3.0.

depends:

  shade

configuration:

  see `salt.modules.keystoneng` for setup instructions

Example States

    create domain:
      keystone_domain.present:
        - name: domain1

    create domain with optional params:
      keystone_domain.present:
        - name: domain1
        - enabled: False
        - description: 'my domain'

    delete domain:
      keystone_domain.absent:
        - name: domain1

salt.states.keystone_domain.absent(name, auth=None)

  Ensure domain does not exist

  name

    Name of the domain

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

  Ensure domain exists and is up-to-date

  name

    Name of the domain

  enabled

    Boolean to control if domain is enabled

  description

    An arbitrary description of the domain