Puppet Class: te_agent::service
- Inherits:
- te_agent
- Defined in:
- manifests/service.pp
Overview
Manages the TE Agent and Event Generator services. Private class.
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'manifests/service.pp', line 3
class te_agent::service inherits te_agent {
if $te_agent::service_manage {
service { 'twdaemon':
ensure => $te_agent::service_ensure,
enable => $te_agent::service_enable,
name => $te_agent::service_name,
provider => $te_agent::service_provider,
hasstatus => true,
hasrestart => true,
}
}
if $te_agent::service_rtm_manage {
service { 'twrtmd':
ensure => $te_agent::service_rtm_ensure,
enable => $te_agent::service_rtm_enable,
name => $te_agent::service_rtm_name,
provider => $te_agent::service_rtm_provider,
hasstatus => true,
hasrestart => true,
}
}
}
|