2015-07-11 11:31:11 +02:00
|
|
|
{% from "postfix/map.jinja" import postfix with context %}
|
|
|
|
|
|
|
|
postgrey:
|
|
|
|
pkg.installed:
|
|
|
|
- name: {{ postfix.postgrey_pkg }}
|
|
|
|
- watch_in:
|
|
|
|
- service: postgrey
|
|
|
|
|
|
|
|
service.running:
|
2016-05-19 13:55:15 +02:00
|
|
|
- enable: {{ salt['pillar.get']('postfix:postgrey:enable_service', True) }}
|
2015-07-11 11:31:11 +02:00
|
|
|
- require:
|
|
|
|
- pkg: postgrey
|
|
|
|
- watch:
|
|
|
|
- pkg: postgrey
|
|
|
|
|