Puppet Class: openstack::nova::conductor::service

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

Overview

Parameters:

  • version (Any)
  • active (Any)


6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'modules/openstack/manifests/nova/conductor/service.pp', line 6

class openstack::nova::conductor::service(
    $version,
    $active,
    ) {

    if os_version('debian jessie') and ($version == 'mitaka') {
        $install_options = ['-t', 'jessie-backports']
    } else {
        $install_options = ''
    }

    package { 'nova-conductor':
        ensure          => 'present',
        install_options => $install_options,
    }

    service { 'nova-conductor':
        ensure    => $active,
        subscribe => File['/etc/nova/nova.conf'],
        require   => Package['nova-conductor'];
    }
}