Puppet Class: prometheus::node_cloudvirt_ceph_network
- Defined in:
- modules/prometheus/manifests/node_cloudvirt_ceph_network.pp
Overview
this can be deleted
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'modules/prometheus/manifests/node_cloudvirt_ceph_network.pp', line 2
class prometheus::node_cloudvirt_ceph_network (
) {
$nodelist_file = '/etc/prometheus-cloudvirt-ceph-network-nodelist.txt'
file { $nodelist_file:
ensure => absent,
}
$script = '/usr/local/bin/prometheus-cloudvirt-ceph-network'
file { $script:
ensure => absent,
}
systemd::timer::job { 'prometheus-node-cloudvirt-ceph-network':
ensure => absent,
user => 'root',
description => 'Generate prometheus node metrics for cloudvirt ceph network usage',
command => $script,
interval => {
'start' => 'OnCalendar',
'interval' => 'minutely',
},
}
}
|