2015-07-11 05:31:11 -04: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 07:55:15 -04:00
|
|
|
- enable: {{ salt['pillar.get']('postfix:postgrey:enable_service', True) }}
|
2015-07-11 05:31:11 -04:00
|
|
|
- require:
|
|
|
|
- pkg: postgrey
|
|
|
|
- watch:
|
|
|
|
- pkg: postgrey
|
|
|
|
|