Puppet Class: prometheus::client::textfile

Defined in:
manifests/client/textfile.pp

Summary

Configure textfile exporter services

Overview



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

class prometheus::client::textfile {
  include prometheus::client::node

  file { '/etc/systemd/system/node-exporter@.service':
    ensure => 'file',
    source => 'puppet:///modules/prometheus/node-exporter@.service',
  }

  file { '/etc/systemd/system/node-exporter@.timer':
    ensure => 'file',
    source => 'puppet:///modules/prometheus/node-exporter@.timer',
  }
}