Puppet Class: mistral::keystone::auth

Defined in:
manifests/keystone/auth.pp

Overview

configure_user_role

(Optional) Whether to configure the admin role for the service user. Defaults to true

Parameters:

  • password (Any)
  • email (Any) (defaults to: 'mistral@localhost')
  • auth_name (Any) (defaults to: 'mistral')
  • service_name (Any) (defaults to: 'mistral')
  • service_type (Any) (defaults to: 'workflowv2')
  • public_url (Any) (defaults to: 'http://127.0.0.1:8989/v2')
  • admin_url (Any) (defaults to: 'http://127.0.0.1:8989/v2')
  • internal_url (Any) (defaults to: 'http://127.0.0.1:8989/v2')
  • region (Any) (defaults to: 'RegionOne')
  • tenant (Any) (defaults to: 'services')
  • configure_endpoint (Any) (defaults to: true)
  • configure_service (Any) (defaults to: true)
  • configure_user (Any) (defaults to: true)
  • configure_user_role (Any) (defaults to: true)
  • service_description (Any) (defaults to: 'OpenStack Workflow Service')


66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'manifests/keystone/auth.pp', line 66

class mistral::keystone::auth(
  $password,
  $email                  = 'mistral@localhost',
  $auth_name              = 'mistral',
  $service_name           = 'mistral',
  $service_type           = 'workflowv2',
  $public_url             = 'http://127.0.0.1:8989/v2',
  $admin_url              = 'http://127.0.0.1:8989/v2',
  $internal_url           = 'http://127.0.0.1:8989/v2',
  $region                 = 'RegionOne',
  $tenant                 = 'services',
  $configure_endpoint     = true,
  $configure_service      = true,
  $configure_user         = true,
  $configure_user_role    = true,
  $service_description    = 'OpenStack Workflow Service',
) {

  include mistral::deps

  validate_legacy(String, 'validate_string', $password)

  keystone::resource::service_identity { 'mistral':
    configure_user      => $configure_user,
    configure_user_role => $configure_user_role,
    configure_endpoint  => $configure_endpoint,
    service_type        => $service_type,
    service_description => $service_description,
    service_name        => $service_name,
    region              => $region,
    auth_name           => $auth_name,
    password            => $password,
    email               => $email,
    tenant              => $tenant,
    public_url          => $public_url,
    admin_url           => $admin_url,
    internal_url        => $internal_url,
  }
}