Puppet Class: prometheus::node_local_crontabs

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

Overview

Class: prometheus::node_local_crontabs

Export local crontab information via node-exporter textfile collector. This is exclusively tailored for toolforge grid nodes.

Parameters:

  • ensure (Wmflib::Ensure) (defaults to: 'present')


5
6
7
8
9
10
11
12
13
14
15
16
# File 'modules/prometheus/manifests/node_local_crontabs.pp', line 5

class prometheus::node_local_crontabs (
    Wmflib::Ensure $ensure = 'present',
) {
    file { '/usr/local/bin/prometheus-local-crontabs':
        ensure => $ensure,
        mode   => '0555',
        owner  => 'root',
        group  => 'root',
        source => 'puppet:///modules/prometheus/usr/local/bin/prometheus-local-crontabs.sh',
    }

}