add support for extensions
This commit is contained in:
21
manifests/exporter/dirs.pp
Normal file
21
manifests/exporter/dirs.pp
Normal file
@@ -0,0 +1,21 @@
|
||||
## postgresql_cd::exporter::dirs.pp
|
||||
# Module name: postgresql_cd
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @summary Class manages the postgresql exporter dirs
|
||||
###############################################################################
|
||||
class postgresql_cd::exporter::dirs (
|
||||
|
||||
) inherits postgresql_cd::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,
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user