3
0
Files
confdroid_postgresql/manifests/exporter/dirs.pp
2025-12-04 19:49:59 +01:00

22 lines
672 B
Puppet

## confdroid_postgresql::exporter::dirs.pp
# Module name: confdroid_postgresql
# Author: Arne Teuke (arne_teuke@confdroid.com)
# @summary Class manages the postgresql exporter dirs
###############################################################################
class confdroid_postgresql::exporter::dirs (
) inherits confdroid_postgresql::params {
if ($fqdn == $pl_server_fqdn) and ($pl_use_exporter == true) {
file { $pl_install_dir:
ensure => directory,
owner => 'postgres',
group => 'postgres',
mode => '0755',
selrange => s0,
selrole => object_r,
seltype => usr_t,
seluser => system_u,
}
}
}