From b3e185da3d2c0e1d3d1361cc512382ce283161dd Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Mon, 23 May 2016 13:53:18 -0700 Subject: [PATCH] Subscribe the snmp service to config file updates Change-Id: I3bd399d395bcb3d8c8ab1f3ca753a47031577086 --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 678f22a..b32dfcc 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -11,7 +11,7 @@ class snmpd { service { 'snmpd': ensure => running, hasrestart => true, - require => File['/etc/snmp/snmpd.conf'] + subscribe => File['/etc/snmp/snmpd.conf'], } if ($::osfamily == 'Debian') {