16 lines
313 B
Plaintext
16 lines
313 B
Plaintext
---
|
|
snmp-snmpd-config:
|
|
file.managed:
|
|
- name: /etc/snmp/snmpd.conf
|
|
- source: salt://snmp/snmpd.conf.j2
|
|
- user: root
|
|
- group: root
|
|
- mode: 644
|
|
- template: jinja
|
|
- watch_in:
|
|
- service: snmp-snmpd-service
|
|
|
|
snmp-snmpd-service:
|
|
service.running:
|
|
- name: snmpd
|
|
- enable: True |