Puppet Class: profile::prometheus::cadvisor_exporter
- Defined in:
- modules/profile/manifests/prometheus/cadvisor_exporter.pp
Overview
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# File 'modules/profile/manifests/prometheus/cadvisor_exporter.pp', line 1
class profile::prometheus::cadvisor_exporter (
Stdlib::Port $port = lookup('profile::prometheus::cadvisor_exporter::port'),
){
# We only support buster and above cause we have no incentive to support
# stretch and below
if debian::codename::ge('buster'){
class { 'prometheus::cadvisor_exporter':
port => $port,
ensure => 'present',
}
}
}
|