OP#195 change class names
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
# prometheus_cd::main::service.pp
|
||||
# Module name: prometheus_cd
|
||||
# confdroid_prometheus::main::service.pp
|
||||
# Module name: confdroid_prometheus
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @summary Class manages the services for the prometheus_cd module.
|
||||
# @summary Class manages the services for the confdroid_prometheus module.
|
||||
##############################################################################
|
||||
class prometheus_cd::main::service (
|
||||
) inherits prometheus_cd::params {
|
||||
class confdroid_prometheus::main::service (
|
||||
) inherits confdroid_prometheus::params {
|
||||
if ($ps_prom_host == $fqdn) and ($manage_prometheus == true) {
|
||||
require prometheus_cd::main::files
|
||||
require prometheus_cd::firewall::iptables
|
||||
require confdroid_prometheus::main::files
|
||||
require confdroid_prometheus::firewall::iptables
|
||||
service { $ps_prom_service:
|
||||
ensure => running,
|
||||
hasstatus => true,
|
||||
|
||||
Reference in New Issue
Block a user