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

15 lines
341 B
Text

{% 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