From 4961ae97214d3741bb77756b87638c40608f8f81 Mon Sep 17 00:00:00 2001 From: Piotr Misiak Date: Wed, 19 Aug 2015 17:22:39 +0200 Subject: [PATCH] run the snmptrapd daemon in the haproxy namespace Change-Id: I583115e393206ed19e677b38a9f0dd39e1295c21 --- .../plugin_zabbix_snmptrapd/manifests/init.pp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/deployment_scripts/puppet/modules/plugin_zabbix_snmptrapd/manifests/init.pp b/deployment_scripts/puppet/modules/plugin_zabbix_snmptrapd/manifests/init.pp index 510a1d1..6ce52f0 100644 --- a/deployment_scripts/puppet/modules/plugin_zabbix_snmptrapd/manifests/init.pp +++ b/deployment_scripts/puppet/modules/plugin_zabbix_snmptrapd/manifests/init.pp @@ -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'],