Subscribe the snmp service to config file updates

Change-Id: I3bd399d395bcb3d8c8ab1f3ca753a47031577086
This commit is contained in:
James E. Blair 2016-05-23 13:53:18 -07:00
parent 587b5893d1
commit b3e185da3d
1 changed files with 1 additions and 1 deletions

View File

@ -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') {