option to make postgrey service enabled or disabled
This commit is contained in:
parent
ac7b5e1a8d
commit
88fb050109
@ -20,6 +20,7 @@ postfix:
|
|||||||
|
|
||||||
postgrey:
|
postgrey:
|
||||||
enabled: True
|
enabled: True
|
||||||
|
enable_service: True
|
||||||
location: inet:172.16.0.5:6379
|
location: inet:172.16.0.5:6379
|
||||||
|
|
||||||
policyd-spf:
|
policyd-spf:
|
||||||
|
@ -7,7 +7,7 @@ postgrey:
|
|||||||
- service: postgrey
|
- service: postgrey
|
||||||
|
|
||||||
service.running:
|
service.running:
|
||||||
- enable: True
|
- enable: {{ salt['pillar.get']('postfix:postgrey:enable_service', True) }}
|
||||||
- require:
|
- require:
|
||||||
- pkg: postgrey
|
- pkg: postgrey
|
||||||
- watch:
|
- watch:
|
||||||
|
Loading…
Reference in New Issue
Block a user