Browse Source

run the snmptrapd daemon in the haproxy namespace

Change-Id: I583115e393206ed19e677b38a9f0dd39e1295c21
Piotr Misiak 3 years ago
parent
commit
4961ae9721

+ 9
- 9
deployment_scripts/puppet/modules/plugin_zabbix_snmptrapd/manifests/init.pp View File

@@ -45,15 +45,15 @@ class plugin_zabbix_snmptrapd {
45 45
   # Version provided by the plugin supports namespaces.
46 46
   # If there is a need to run snmptrad in a specific namespace,
47 47
   # uncomment the following resource and put the correct namespace in the file.
48
-  #file { "/etc/init.d/${service_name}":
49
-  #  ensure  => present,
50
-  #  owner   => 'root',
51
-  #  group   => 'root',
52
-  #  mode    => '0755',
53
-  #  source  => "puppet:///modules/plugin_zabbix_snmptrapd/initscripts/${service_name}",
54
-  #  require => Package[$package_name],
55
-  #  notify  => Service[$service_name],
56
-  #}
48
+  file { "/etc/init.d/${service_name}":
49
+    ensure  => present,
50
+    owner   => 'root',
51
+    group   => 'root',
52
+    mode    => '0755',
53
+    source  => "puppet:///modules/plugin_zabbix_snmptrapd/initscripts/${service_name}",
54
+    require => Package[$package_name],
55
+    notify  => Service[$service_name],
56
+  }
57 57
 
58 58
   class { 'plugin_zabbix_snmptrapd::snmptt':
59 59
     require => Class['snmp'],

Loading…
Cancel
Save