Subscribe the snmp service to config file updates
Change-Id: I3bd399d395bcb3d8c8ab1f3ca753a47031577086
This commit is contained in:
parent
587b5893d1
commit
b3e185da3d
|
@ -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') {
|
||||
|
|
Loading…
Reference in New Issue