Puppet Class: openstack::nova::placement::service

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

Overview

This is the placement-api service for Openstack Nova.

Parameters:

  • version (String)
  • active (Boolean)
  • placement_api_port (Stdlib::Port)


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'modules/openstack/manifests/nova/placement/service.pp', line 2

class openstack::nova::placement::service(
    String $version,
    Boolean $active,
    Stdlib::Port $placement_api_port,
    ) {

    class { "openstack::nova::placement::service::${version}":
        placement_api_port => $placement_api_port,
    }

    service { 'nova-placement-api':
        ensure    => $active,
        subscribe => [
                      File['/etc/nova/nova.conf'],
                      File['/etc/init.d/nova-placement-api'],
                      File['/etc/nova/policy.yaml'],
            ],
        require   => Package['nova-placement-api'];
    }
}