03ad48b8a4
The new format match the format proposed in the template-formula BREAKING CHANGE: as all resources' IDs changed, other formulas depending on this formula's resources will need to be modified accordingly.
16 lines
456 B
Plaintext
16 lines
456 B
Plaintext
{% from "postfix/map.jinja" import postfix with context %}
|
|
|
|
postfix-postgrey-pkg-installed-postgrey:
|
|
pkg.installed:
|
|
- name: {{ postfix.postgrey_pkg }}
|
|
|
|
postfix-postgrey-service-running-postgrey:
|
|
service.running:
|
|
- name: postgrey
|
|
- enable: {{ salt['pillar.get']('postfix:postgrey:enable_service', True) }}
|
|
- require:
|
|
- pkg: postfix-postgrey-pkg-installed-postgrey
|
|
- watch:
|
|
- pkg: postfix-postgrey-pkg-installed-postgrey
|
|
|