Puppet Class: profile::openstack::codfw1dev::nova::compute::service

Defined in:
modules/profile/manifests/openstack/codfw1dev/nova/compute/service.pp

Overview

Parameters:

  • version (Any) (defaults to: hiera('profile::openstack::codfw1dev::version'))
  • network_flat_interface (Any) (defaults to: hiera('profile::openstack::codfw1dev::nova::network_flat_interface'))
  • network_flat_tagged_base_interface (Any) (defaults to: hiera('profile::openstack::codfw1dev::nova::network_flat_tagged_base_interface'))
  • network_flat_interface_vlan (Any) (defaults to: hiera('profile::openstack::codfw1dev::nova::network_flat_interface_vlan'))
  • network_flat_name (Any) (defaults to: hiera('profile::openstack::codfw1dev::neutron::network_flat_name'))
  • physical_interface_mappings (Any) (defaults to: hiera('profile::openstack::codfw1dev::nova::physical_interface_mappings'))


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

class profile::openstack::codfw1dev::nova::compute::service(
    $version = hiera('profile::openstack::codfw1dev::version'),
    $network_flat_interface = hiera('profile::openstack::codfw1dev::nova::network_flat_interface'),
    $network_flat_tagged_base_interface = hiera('profile::openstack::codfw1dev::nova::network_flat_tagged_base_interface'),
    $network_flat_interface_vlan = hiera('profile::openstack::codfw1dev::nova::network_flat_interface_vlan'),
    $network_flat_name = hiera('profile::openstack::codfw1dev::neutron::network_flat_name'),
    $physical_interface_mappings = hiera('profile::openstack::codfw1dev::nova::physical_interface_mappings'),
    ) {

    require ::profile::openstack::codfw1dev::neutron::common
    class {'::profile::openstack::base::neutron::linuxbridge_agent':
        version                     => $version,
        physical_interface_mappings => $physical_interface_mappings,
    }
    contain '::profile::openstack::base::neutron::linuxbridge_agent'

    require ::profile::openstack::codfw1dev::nova::common
    class {'::profile::openstack::base::nova::compute::service':
        version                            => $version,
        network_flat_interface             => $network_flat_interface,
        network_flat_tagged_base_interface => $network_flat_tagged_base_interface,
        network_flat_interface_vlan        => $network_flat_interface_vlan,
        all_cloudvirts                     => unique(concat(query_nodes('Class[profile::openstack::codfw1dev::nova::compute::service]'), [$::fqdn])),
        require                            => Class['::profile::openstack::base::neutron::linuxbridge_agent'],
    }
    contain '::profile::openstack::base::nova::compute::service'

}