Puppet Class: prometheus::client::pacman
- Defined in:
-
manifests/client/pacman.pp
Summary
Configure pacman textfile exporter
Overview
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# File 'manifests/client/pacman.pp', line 3
class prometheus::client::pacman {
include prometheus::client::textfile
file { '/usr/local/bin/node-exporter-pacman.sh':
ensure => file,
source => 'puppet:///modules/prometheus/node-exporter-pacman.sh',
mode => '0755',
}
service { 'node-exporter@pacman.timer':
ensure => running,
enable => true,
}
}
|