paulbsd-salt/states/oldstates/snmp/init.sls
2020-07-10 00:58:55 +02:00

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