20 lines
631 B
Puppet
20 lines
631 B
Puppet
## confdroid_postgresql::exporter::service.pp
|
|
# Module name: confdroid_postgresql
|
|
# Author: 12ww1160 (12ww1160@confdroid.com)
|
|
# @summary Class manages the postgresql exporter service
|
|
###############################################################################
|
|
class confdroid_postgresql::exporter::service (
|
|
|
|
) inherits confdroid_postgresql::params {
|
|
if ($fqdn == $pl_server_fqdn) and ($pl_use_exporter == true) {
|
|
require confdroid_postgresql::exporter::files
|
|
|
|
# service { $pl_exporter_service:
|
|
# ensure => running,
|
|
# hasstatus => true,
|
|
# hasrestart => true,
|
|
# enable => true,
|
|
# }
|
|
}
|
|
}
|