Skip to content

Commit

Permalink
fix(states): re-generate Exim aliases DB after update
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Oct 3, 2019
1 parent 726df07 commit 6a0aecf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions exim/config/aliases.sls
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ exim/alias/{{ name }}:
{%- endif %}
- require:
- sls: {{ sls_package_install }}
- listen_in:
- cmd: exim/newaliases
{%- endif %}
{%- endfor %}
Expand All @@ -50,4 +52,10 @@ exim/virtual-aliases/{{ domain }}:
domain: {{ domain }}
- require:
- sls: {{ sls_package_install }}
- listen_in:
- cmd: exim/newaliases
{%- endfor %}
exim/newaliases:
cmd.wait:
- name: newaliases

0 comments on commit 6a0aecf

Please sign in to comment.