mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
22 lines
337 B
Plaintext
22 lines
337 B
Plaintext
snmpd:
|
|
pkg:
|
|
- installed
|
|
service:
|
|
- running
|
|
- require:
|
|
- pkg: snmpd
|
|
- watch:
|
|
- file: /etc/snmp/snmpd.conf
|
|
|
|
/etc/snmp/snmpd.conf:
|
|
file:
|
|
- managed
|
|
- source: salt://snmpd/snmpd.conf.jinja
|
|
- template: jinja
|
|
- user: root
|
|
- group: root
|
|
- mode: "0600"
|
|
- require:
|
|
- pkg: snmpd
|
|
|