postfix-formula/postfix/postgrey.sls
2016-05-19 13:55:15 +02:00

16 lines
341 B
Plaintext

{% from "postfix/map.jinja" import postfix with context %}
postgrey:
pkg.installed:
- name: {{ postfix.postgrey_pkg }}
- watch_in:
- service: postgrey
service.running:
- enable: {{ salt['pillar.get']('postfix:postgrey:enable_service', True) }}
- require:
- pkg: postgrey
- watch:
- pkg: postgrey