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