a87542db5b
Change-Id: I9fc32a7b06e55948cfb1f3f236dfb22297f3f0f6
17 lines
409 B
Puppet
17 lines
409 B
Puppet
class snmpd {
|
|
package { snmpd: ensure => present }
|
|
service { snmpd:
|
|
ensure => running,
|
|
hasrestart => true,
|
|
require => File["/etc/snmp/snmpd.conf"],
|
|
}
|
|
file { "/etc/snmp/snmpd.conf":
|
|
owner => 'root',
|
|
group => 'root',
|
|
mode => 444,
|
|
ensure => 'present',
|
|
source => 'puppet:///modules/snmpd/snmpd.conf',
|
|
replace => 'true',
|
|
}
|
|
}
|