add support for extensions
This commit is contained in:
19
manifests/exporter/service.pp
Normal file
19
manifests/exporter/service.pp
Normal file
@@ -0,0 +1,19 @@
|
||||
## postgresql_cd::exporter::service.pp
|
||||
# Module name: postgresql_cd
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @summary Class manages the postgresql exporter service
|
||||
###############################################################################
|
||||
class postgresql_cd::exporter::service (
|
||||
|
||||
) inherits postgresql_cd::params {
|
||||
if ($fqdn == $pl_server_fqdn) and ($pl_use_exporter == true) {
|
||||
require postgresql_cd::exporter::files
|
||||
|
||||
# service { $pl_exporter_service:
|
||||
# ensure => running,
|
||||
# hasstatus => true,
|
||||
# hasrestart => true,
|
||||
# enable => true,
|
||||
# }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user