Puppet Class: openstack::placement::service

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

Overview

Parameters:

  • openstack_controllers (Any)
  • version (Any)
  • db_user (Any)
  • db_pass (Any)
  • db_name (Any)
  • db_host (Any)
  • ldap_user_pass (Any)
  • keystone_admin_uri (Any)
  • keystone_public_uri (Any)
  • api_bind_port (Stdlib::Port)


1
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
# File 'modules/openstack/manifests/placement/service.pp', line 1

class openstack::placement::service(
    $openstack_controllers,
    $version,
    $db_user,
    $db_pass,
    $db_name,
    $db_host,
    $ldap_user_pass,
    $keystone_admin_uri,
    $keystone_public_uri,
    Stdlib::Port $api_bind_port,
) {
    class { "openstack::placement::service::${version}":
        openstack_controllers => $openstack_controllers,
        db_user               => $db_user,
        db_pass               => $db_pass,
        db_name               => $db_name,
        db_host               => $db_host,
        ldap_user_pass        => $ldap_user_pass,
        keystone_admin_uri    => $keystone_admin_uri,
        keystone_public_uri   => $keystone_public_uri,
        api_bind_port         => $api_bind_port,
    }

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

    rsyslog::conf { 'placement':
        source   => 'puppet:///modules/openstack/placement/placement.rsyslog.conf',
        priority => 20,
    }
}