From e6da76dac8c40eb2a013bcfc51b70aa5ed8758e1 Mon Sep 17 00:00:00 2001 From: Daniel Oetken Date: Tue, 24 May 2016 12:40:05 +0200 Subject: [PATCH] added watch statement to restart postfix --- postfix/mysql.sls | 2 ++ postfix/pcre.sls | 2 ++ 2 files changed, 4 insertions(+) diff --git a/postfix/mysql.sls b/postfix/mysql.sls index 923eb66..5a45fc9 100644 --- a/postfix/mysql.sls +++ b/postfix/mysql.sls @@ -3,3 +3,5 @@ mysql: pkg.installed: - name: {{ postfix.mysql_pkg }} + - watch_in: + - service: postfix diff --git a/postfix/pcre.sls b/postfix/pcre.sls index 019c7db..1d104c0 100644 --- a/postfix/pcre.sls +++ b/postfix/pcre.sls @@ -3,3 +3,5 @@ pcre: pkg.installed: - name: {{ postfix.pcre_pkg }} + - watch_in: + - service: postfix