paulbsd-salt/states/old/snmp/init.sls

16 lines
313 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
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