2015-07-11 11:31:11 +02:00
|
|
|
{% from "postfix/map.jinja" import postfix with context %}
|
|
|
|
|
2021-03-14 22:33:21 +01:00
|
|
|
postfix-postgrey-pkg-installed-postgrey:
|
2015-07-11 11:31:11 +02:00
|
|
|
pkg.installed:
|
|
|
|
- name: {{ postfix.postgrey_pkg }}
|
|
|
|
|
2021-03-14 22:33:21 +01:00
|
|
|
postfix-postgrey-service-running-postgrey:
|
2015-07-11 11:31:11 +02:00
|
|
|
service.running:
|
2021-03-14 22:33:21 +01:00
|
|
|
- name: postgrey
|
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:
|
2021-03-14 22:33:21 +01:00
|
|
|
- pkg: postfix-postgrey-pkg-installed-postgrey
|
2015-07-11 11:31:11 +02:00
|
|
|
- watch:
|
2021-03-14 22:33:21 +01:00
|
|
|
- pkg: postfix-postgrey-pkg-installed-postgrey
|
2015-07-11 11:31:11 +02:00
|
|
|
|