Puppet Class: eventlogging::devserver

Defined in:
puppet/modules/eventlogging/manifests/devserver.pp

Overview

Class eventlogging::devserver

Parameters:

  • output_file (Any) (defaults to: '/vagrant/logs/eventlogging.log')


3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'puppet/modules/eventlogging/manifests/devserver.pp', line 3

class eventlogging::devserver(
    $output_file = '/vagrant/logs/eventlogging.log',
) {
    require ::eventlogging

    # Local variable for ease of use in service.upstart.erb template.
    $eventlogging_path = $::eventlogging::path

    systemd::service { 'eventlogging-devserver':
        ensure             => 'present',
        epp_template       => true,
        template_variables => {
            'eventlogging_path' => $eventlogging_path,
            'output_file'       => $output_file,
        },
    }
}