Puppet Class: profile::smokeping

Defined in:
modules/profile/manifests/smokeping.pp

Overview

Parameters:

  • active_server (Stdlib::Fqdn) (defaults to: lookup('netmon_server'))
  • passive_server (Stdlib::Fqdn) (defaults to: lookup('netmon_server_failover'))


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

class profile::smokeping (
    Stdlib::Fqdn $active_server = lookup('netmon_server'),
    Stdlib::Fqdn $passive_server = lookup('netmon_server_failover'),
){

    class{ '::smokeping':
        active_server => $active_server,
    }

    class{ '::smokeping::web': }

    ferm::service { 'smokeping-http':
        proto => 'tcp',
        port  => '80',
    }

    ferm::service { 'smokeping-https':
        proto => 'tcp',
        port  => '443',
    }

    backup::set { 'smokeping': }
}