Puppet Class: openstack::profile::heat::api

Defined in:
manifests/profile/heat/api.pp

Overview

The profile for installing the heat API



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
# File 'manifests/profile/heat/api.pp', line 2

class openstack::profile::heat::api {
  openstack::resources::controller { 'heat': }
  openstack::resources::database { 'heat': }
  openstack::resources::firewall { 'Heat API': port     => '8004', }
  openstack::resources::firewall { 'Heat CFN API': port => '8000', }

  $controller_management_address = hiera('openstack::controller::address::management')

  class { '::heat::keystone::auth':
    password         => hiera('openstack::heat::password'),
    public_address   => hiera('openstack::controller::address::api'),
    admin_address    => hiera('openstack::controller::address::management'),
    internal_address => hiera('openstack::controller::address::management'),
    region           => hiera('openstack::region'),
  }

  class { '::heat::keystone::auth_cfn': 
    password         => hiera('openstack::heat::password'),
    public_address   => hiera('openstack::controller::address::api'),
    admin_address    => hiera('openstack::controller::address::management'),
    internal_address => hiera('openstack::controller::address::management'),
    region           => hiera('openstack::region'),
  }

  class { '::heat':
    sql_connection    => $::openstack::resources::connectors::heat,
    rabbit_host       => hiera('openstack::controller::address::management'),
    rabbit_userid     => hiera('openstack::rabbitmq::user'),
    rabbit_password   => hiera('openstack::rabbitmq::password'),
    debug             => hiera('openstack::debug'),
    verbose           => hiera('openstack::verbose'),
    keystone_host     => hiera('openstack::controller::address::management'),
    keystone_password => hiera('openstack::heat::password'),
    mysql_module      => '2.2',
  }

  class { '::heat::api':
    bind_host => hiera('openstack::controller::address::api'),
  }

  class { '::heat::api_cfn':
    bind_host => hiera('openstack::controller::address::api'),
  }

  class { '::heat::engine':
    auth_encryption_key => hiera('openstack::heat::encryption_key'),
  }
}