Skip to content

Instantly share code, notes, and snippets.

@gravyboat
Created January 28, 2014 22:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gravyboat/8677472 to your computer and use it in GitHub Desktop.
Save gravyboat/8677472 to your computer and use it in GitHub Desktop.
snmpd testing
snmpd:
pkg:
- installed
service:
- running
- name: snmpd
- require:
- pkg: snmpd
snmpd.conf:
file:
- managed
- name: /etc/snmp/snmpd.conf
- source: salt://default/snmpd/snmpd.conf
- user: root
- group: root
- mode: 600
- require:
- pkg: snmpd
- watch_in:
- service: snmpd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment