Puppet Class: confdroid_nrpe::main::service
- Inherits:
- confdroid_nrpe::params
- Defined in:
- manifests/main/service.pp
Summary
Class manages the service(s) for confdroid_nrpe.Overview
confdroid_nrpe::main::service.pp Module name: confdroid_nrpe Author: 12ww1160 (12ww1160@ConfDroid.com)
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'manifests/main/service.pp', line 6
class confdroid_nrpe::main::service (
) inherits confdroid_nrpe::params {
require confdroid_nrpe::main::files
if $ne_incl_fw == true {
require confdroid_nrpe::firewall::iptables
}
if $ne_manage_cmds == true {
require confdroid_nrpe::commands::definition_rules
}
if $ne_include_selinux == true {
require confdroid_nrpe::selinux::config
}
service { $ne_service:
ensure => running,
hasstatus => true,
hasrestart => true,
enable => true,
}
}
|