salt.states.keystone_service

Management of OpenStack Keystone Services

New in version 2018.3.0.

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

Example States

create service:
  keystone_service.present:
    - name: glance
    - type: image

delete service:
  keystone_service.absent:
    - name: glance

create service with optional params:
  keystone_service.present:
    - name: glance
    - type: image
    - enabled: False
    - description: 'OpenStack Image'
salt.states.keystone_service.absent(name, auth=None)

Ensure service does not exist

name
Name of the service
salt.states.keystone_service.present(name, auth=None, **kwargs)

Ensure an service exists and is up-to-date

name
Name of the group
type
Service type
enabled
Boolean to control if service is enabled
description
An arbitrary description of the service