Puppet Class: profile::prometheus::ipsec_exporter

Defined in:
modules/profile/manifests/prometheus/ipsec_exporter.pp

Overview

Parameters:

  • prometheus_nodes (Any) (defaults to: hiera('prometheus_nodes'))


1
2
3
4
5
6
7
8
9
10
11
12
13
14
# File 'modules/profile/manifests/prometheus/ipsec_exporter.pp', line 1

class profile::prometheus::ipsec_exporter(
    $prometheus_nodes = hiera('prometheus_nodes'),
) {
    $prometheus_nodes_ferm = join($prometheus_nodes, ' ')

    class { '::prometheus::ipsec_exporter': }

    ferm::service { 'prometheus_ipsec_exporter':
        proto  => 'tcp',
        port   => '9536',
        srange => "(@resolve((${prometheus_nodes_ferm})) @resolve((${prometheus_nodes_ferm}), AAAA))",
    }

}