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
# File 'modules/lvs/manifests/balancer/runcommand.pp', line 4

class lvs::balancer::runcommand {

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