Puppet Class: lvs::balancer::runcommand

Defined in:
modules/lvs/manifests/balancer/runcommand.pp

Overview

Supporting the PyBal RunCommand monitor



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'modules/lvs/manifests/balancer/runcommand.pp', line 4

class lvs::balancer::runcommand {

    file {
        '/etc/pybal/runcommand':
            ensure => directory,
            owner  => 'root',
            group  => 'root',
            mode   => '0755';
        '/etc/pybal/runcommand/check-apache':
            owner  => 'root',
            group  => 'root',
            mode   => '0555',
            source => "puppet:///modules/${module_name}/pybal/check-apache";
        '/root/.ssh/pybal-check':
            owner     => 'root',
            group     => 'root',
            mode      => '0600',
            content   => secret('pybal/pybal-check'),
            show_diff => false;
    }
}