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

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

Overview

Parameters:

  • osstackcanary_pass (Any) (defaults to: hiera('profile::openstack::base::nova::fullstack_pass'))
  • openstack_controllers (Any) (defaults to: hiera('profile::openstack::base::openstack_controllers'))
  • region (Any) (defaults to: hiera('profile::openstack::base::region'))
  • network (Any) (defaults to: hiera('profile::openstack::base::nova::instance_network_id'))
  • puppetmaster (Any) (defaults to: hiera('profile::openstack::base::puppetmaster_hostname'))


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

class profile::openstack::base::nova::fullstack::service(
    $osstackcanary_pass = hiera('profile::openstack::base::nova::fullstack_pass'),
    $openstack_controllers = hiera('profile::openstack::base::openstack_controllers'),
    $region = hiera('profile::openstack::base::region'),
    $network = hiera('profile::openstack::base::nova::instance_network_id'),
    $puppetmaster = hiera('profile::openstack::base::puppetmaster_hostname'),
    ) {

    # We only want this running in one place; just pick the first
    #  host in $openstack_controllers.
    class { '::openstack::nova::fullstack::service':
        active       => ($::fqdn == $openstack_controllers[0]),
        password     => $osstackcanary_pass,
        region       => $region,
        network      => $network,
        puppetmaster => $puppetmaster,
    }
    contain '::openstack::nova::fullstack::service'
}