Puppet Class: openstack::heat::service

Defined in:
modules/openstack/manifests/heat/service.pp

Overview

SPDX-License-Identifier: Apache-2.0

Parameters:

  • version (String)
  • openstack_controllers (Array[Stdlib::Fqdn])
  • rabbitmq_nodes (Array[Stdlib::Fqdn])
  • db_user (String)
  • region (String)
  • db_pass (String)
  • db_name (String)
  • db_host (Stdlib::Fqdn)
  • ldap_user_pass (String)
  • keystone_fqdn (Stdlib::Fqdn)
  • api_bind_port (Stdlib::Port)
  • cfn_api_bind_port (Stdlib::Port)
  • rabbit_user (String)
  • rabbit_pass (String)
  • auth_encryption_key (String[32])
  • domain_admin_pass (String)


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# File 'modules/openstack/manifests/heat/service.pp', line 2

class openstack::heat::service(
    String $version,
    Array[Stdlib::Fqdn] $openstack_controllers,
    Array[Stdlib::Fqdn] $rabbitmq_nodes,
    String $db_user,
    String $region,
    String $db_pass,
    String $db_name,
    Stdlib::Fqdn $db_host,
    String $ldap_user_pass,
    Stdlib::Fqdn $keystone_fqdn,
    Stdlib::Port $api_bind_port,
    Stdlib::Port $cfn_api_bind_port,
    String $rabbit_user,
    String $rabbit_pass,
    String[32] $auth_encryption_key,
    String $domain_admin_pass,
) {
    class { "openstack::heat::service::${version}":
        db_user               => $db_user,
        db_pass               => $db_pass,
        db_name               => $db_name,
        db_host               => $db_host,
        ldap_user_pass        => $ldap_user_pass,
        keystone_fqdn         => $keystone_fqdn,
        api_bind_port         => $api_bind_port,
        cfn_api_bind_port     => $cfn_api_bind_port,
        rabbit_user           => $rabbit_user,
        rabbit_pass           => $rabbit_pass,
        openstack_controllers => $openstack_controllers,
        rabbitmq_nodes        => $rabbitmq_nodes,
        auth_encryption_key   => $auth_encryption_key,
        region                => $region,
        domain_admin_pass     => $domain_admin_pass,
    }

    service { 'heat-api':
        ensure  => running,
        require => Package['heat-api'],
    }
    service { 'heat-engine':
        ensure  => running,
        require => Package['heat-engine'],
    }
    service { 'heat-api-cfn':
        ensure  => running,
        require => Package['heat-api-cfn'],
    }
}