run the snmptrapd daemon in the haproxy namespace
Change-Id: I583115e393206ed19e677b38a9f0dd39e1295c21
This commit is contained in:
parent
924d68fa30
commit
4961ae9721
|
@ -45,15 +45,15 @@ class plugin_zabbix_snmptrapd {
|
|||
# Version provided by the plugin supports namespaces.
|
||||
# If there is a need to run snmptrad in a specific namespace,
|
||||
# uncomment the following resource and put the correct namespace in the file.
|
||||
#file { "/etc/init.d/${service_name}":
|
||||
# ensure => present,
|
||||
# owner => 'root',
|
||||
# group => 'root',
|
||||
# mode => '0755',
|
||||
# source => "puppet:///modules/plugin_zabbix_snmptrapd/initscripts/${service_name}",
|
||||
# require => Package[$package_name],
|
||||
# notify => Service[$service_name],
|
||||
#}
|
||||
file { "/etc/init.d/${service_name}":
|
||||
ensure => present,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0755',
|
||||
source => "puppet:///modules/plugin_zabbix_snmptrapd/initscripts/${service_name}",
|
||||
require => Package[$package_name],
|
||||
notify => Service[$service_name],
|
||||
}
|
||||
|
||||
class { 'plugin_zabbix_snmptrapd::snmptt':
|
||||
require => Class['snmp'],
|
||||
|
|
Loading…
Reference in New Issue