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.

Parameters:

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


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

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',
    }

}