option to make postfix service enabled or disabled
This commit is contained in:
parent
99d7f9b6fd
commit
ac7b5e1a8d
2 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,8 @@ postfix:
|
||||||
master_config:
|
master_config:
|
||||||
enable_submission: False
|
enable_submission: False
|
||||||
|
|
||||||
|
enable_service: True
|
||||||
|
|
||||||
virtual:
|
virtual:
|
||||||
groupaliasexample:
|
groupaliasexample:
|
||||||
- someuser_1@example.com
|
- someuser_1@example.com
|
||||||
|
|
|
@ -6,7 +6,7 @@ postfix:
|
||||||
- watch_in:
|
- watch_in:
|
||||||
- service: postfix
|
- service: postfix
|
||||||
service.running:
|
service.running:
|
||||||
- enable: True
|
- enable: {{ salt['pillar.get']('postfix:enable_service', True) }}
|
||||||
- require:
|
- require:
|
||||||
- pkg: postfix
|
- pkg: postfix
|
||||||
- watch:
|
- watch:
|
||||||
|
|
Loading…
Reference in a new issue