paulbsd-salt/states/old/snmp/init.sls
2021-08-19 21:15:24 +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