system-config/modules/snmpd/manifests/init.pp
James E. Blair 9350ebf704 Add SNMP configuration to puppet.
Change-Id: I2fa3e43cbc52404e8c41d381e503abec42459873
2011-09-13 00:02:48 +00:00

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',
}
}