Puppet Class: profile::openstack::base::nova::placement::service

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

Overview

Parameters:

  • version (String) (defaults to: lookup('profile::openstack::base::version'))
  • region (String) (defaults to: lookup('profile::openstack::base::region'))
  • placement_api_port (Stdlib::Port) (defaults to: lookup('profile::openstack::base::nova::placement_api_port'))


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

class profile::openstack::base::nova::placement::service(
    String $version = lookup('profile::openstack::base::version'),
    String $region = lookup('profile::openstack::base::region'),
    Stdlib::Port $placement_api_port = lookup('profile::openstack::base::nova::placement_api_port'),
    ) {

    $prod_networks = join($::network::constants::production_networks, ' ')

    class {'::openstack::nova::placement::service':
        version            => $version,
        active             => true,
        placement_api_port => $placement_api_port,
    }
    contain '::openstack::nova::placement::service'

    ferm::rule{'nova_placement_public':
        ensure => 'present',
        rule   => "saddr (${prod_networks}) proto tcp dport (8778) ACCEPT;",
    }
}