Puppet Class: prometheus::wmf_elasticsearch_exporter::common

Defined in:
modules/prometheus/manifests/wmf_elasticsearch_exporter/common.pp

Overview



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

class prometheus::wmf_elasticsearch_exporter::common {

    ensure_packages('python3-prometheus-client')

    file { '/usr/local/bin/prometheus-wmf-elasticsearch-exporter':
        ensure => present,
        source => 'puppet:///modules/prometheus/usr/local/bin/prometheus-wmf-elasticsearch-exporter.py',
        owner  => 'root',
        group  => 'root',
        mode   => '0555',
    }
}