Puppet Class: prometheus::cadvisor_exporter

Defined in:
modules/prometheus/manifests/cadvisor_exporter.pp

Overview

Parameters:

  • ensure (Wmflib::Ensure)
  • port (Stdlib::Port)


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

class prometheus::cadvisor_exporter(
    Wmflib::Ensure $ensure,
    Stdlib::Port $port,
) {
    package { 'cadvisor':
        ensure => $ensure,
    }

    systemd::service { 'cadvisor':
        content   => init_template('cadvisor', 'systemd_override'),
        override  => true,
        restart   => true,
        subscribe => Package['cadvisor'],
    }
}