9350ebf704
Change-Id: I2fa3e43cbc52404e8c41d381e503abec42459873
16 lines
362 B
Puppet
16 lines
362 B
Puppet
class snmpd {
|
|
package { snmpd: ensure => present }
|
|
service { snmpd:
|
|
ensure => running,
|
|
hasrestart => true,
|
|
}
|
|
file { "/etc/snmp/snmpd.conf":
|
|
owner => 'root',
|
|
group => 'root',
|
|
mode => 444,
|
|
ensure => 'present',
|
|
source => 'puppet:///modules/snmpd/snmpd.conf',
|
|
replace => 'true',
|
|
}
|
|
}
|