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:
commit
a454187d63
13
memcached/config.sls
Normal file
13
memcached/config.sls
Normal 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
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user