Puppet Class: prometheus::client::puppet

Defined in:
manifests/client/puppet.pp

Summary

Configure puppet textfile exporter

Overview



3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'manifests/client/puppet.pp', line 3

class prometheus::client::puppet {
  include prometheus::client::textfile

  file { '/usr/local/bin/node-exporter-puppet.sh':
    ensure => file,
    source => 'puppet:///modules/prometheus/node-exporter-puppet.sh',
    mode   => '0755',
  }

  service { 'node-exporter@puppet.timer':
    ensure => running,
    enable => true,
  }
}