salt.states.keystone_project

Management of OpenStack Keystone Projects

New in version 2018.3.0.

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

Example States

create project:
  keystone_project.present:
    - name: project1

delete project:
  keystone_project.absent:
    - name: project1

create project with optional params:
  keystone_project.present:
    - name: project1
    - domain: domain1
    - enabled: False
    - description: 'my project'
salt.states.keystone_project.absent(name, auth=None, **kwargs)

Ensure a project does not exists

name
Name of the project
domain
The name or id of the domain
salt.states.keystone_project.present(name, auth=None, **kwargs)

Ensure a project exists and is up-to-date

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