Merge pull request #5 from gravyboat/master

Removed the config from the init and put it into it's own state
This commit is contained in:
Seth House 2014-05-14 16:48:21 -06:00
commit a454187d63
2 changed files with 13 additions and 13 deletions

13
memcached/config.sls Normal file
View File

@ -0,0 +1,13 @@
include:
- memcached
/etc/memcached.conf:
file:
- managed
- template: jinja
- user: root
- group: root
- mode: 644
- source: salt://memcached/templates/memcached.conf
- watch_in:
- service: memcached

View File

@ -6,16 +6,3 @@ memcached:
- enable: True - enable: True
- require: - require:
- pkg: memcached - pkg: memcached
- watch:
- file: /etc/memcached.conf
/etc/memcached.conf:
file:
- managed
- template: jinja
- user: root
- group: root
- mode: 644
- source: salt://memcached/templates/memcached.conf
- require:
- pkg: memcached