Puppet Class: openstack::nova::api::service

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

Overview

This is the api service for Openstack Nova. It provides a REST api that Wikitech and Horizon use to manage VMs.

Parameters:

  • version (Any)
  • active (Any)


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

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

    class { "openstack::nova::api::service::${version}": }

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