Defined Type: prometheus::node_trafficserver_config
- Defined in:
- modules/prometheus/manifests/node_trafficserver_config.pp
Overview
18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'modules/prometheus/manifests/node_trafficserver_config.pp', line 18
define prometheus::node_trafficserver_config (
Integer[0] $config_max_conns,
Integer[0] $config_max_reqs,
Pattern[/\.prom$/] $outfile,
Wmflib::Ensure $ensure = 'present',
) {
file { $outfile:
ensure => stdlib::ensure($ensure, 'file'),
mode => '0444',
owner => 'root',
group => 'root',
content => template('prometheus/trafficserver_config.prom.erb'),
}
}
|