Puppet Class: openstack::neutron::service

Defined in:
modules/openstack/manifests/neutron/service.pp

Overview

Parameters:

  • active (Boolean)
  • version (Any)


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

class openstack::neutron::service(
    Boolean $active,
    $version,
    ) {

    class { "openstack::neutron::service::${version}": }

    service {'neutron-server':
        ensure    => $active,
        require   => Package['neutron-server'],
        subscribe => [
                      File['/etc/neutron/neutron.conf'],
                      File['/etc/neutron/policy.json'],
                      File['/etc/neutron/plugins/ml2/ml2_conf.ini'],
            ],
    }
}