Files
confdroid_postgresql/manifests/exporter/service.pp

20 lines
631 B
ObjectPascal
Raw Normal View History

2025-12-04 19:49:59 +01:00
## confdroid_postgresql::exporter::service.pp
# Module name: confdroid_postgresql
2025-12-05 14:22:43 +01:00
# Author: 12ww1160 (12ww1160@confdroid.com)
2025-11-21 15:45:25 +01:00
# @summary Class manages the postgresql exporter service
###############################################################################
2025-12-04 19:49:59 +01:00
class confdroid_postgresql::exporter::service (
2025-11-21 15:45:25 +01:00
2025-12-04 19:49:59 +01:00
) inherits confdroid_postgresql::params {
2025-11-21 15:45:25 +01:00
if ($fqdn == $pl_server_fqdn) and ($pl_use_exporter == true) {
2025-12-04 19:49:59 +01:00
require confdroid_postgresql::exporter::files
2025-11-21 15:45:25 +01:00
# service { $pl_exporter_service:
# ensure => running,
# hasstatus => true,
# hasrestart => true,
# enable => true,
# }
}
}