Skip to content

Commit

Permalink
Add initial sls
Browse files Browse the repository at this point in the history
  • Loading branch information
thatch45 committed Jun 13, 2013
1 parent adecd62 commit dd503b1
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions dnsmasq/init.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
dnsmasq:
pkg:
- installed
service:
- running
- enable: True
- require:
- pkg: dnsmasq
- watch:
- file: /etc/dnsmasq.conf
- file: /etc/dnsmasq.d

/etc/dnsmasq.conf:
file.managed:
- source: salt://dnsmasq/files/dnsmasq.conf
- user: root
- group: root
- mode: 644
- template: jinja
- require:
- pkg: dnsmasq

/etc/dnsmasq.d:
file.recurse:
- source: salt://dnsmasq/files/dnsmasq.d
- template: jinja
- require:
- pkg: dnsmasq

0 comments on commit dd503b1

Please sign in to comment.