3
0
Arne Teuke
2025-10-18 13:08:50 +02:00
parent c2eca38b93
commit 4f61a39c40
5 changed files with 30 additions and 6 deletions

View File

@@ -6,4 +6,16 @@
class prometheus_cd::main::files (
) inherits prometheus_cd::params {
require prometheus_cd::main::dirs
file { $ps_main_file:
ensure => file,
owner => 'root',
group => 'root',
mode => '0644',
selrange => s0,
selrole => object_r,
seltype => etc_t,
seluser => system_u,
content => template('prometheus_cd/prometheus.yml.erb'),
notify => Service[ps_prom_service],
}
}