From 7ede7609f729b358c6861595a1baeca0b87f7864 Mon Sep 17 00:00:00 2001 From: Felipe Zipitria Date: Tue, 24 Jul 2018 14:38:10 +0100 Subject: [PATCH] Force batch in FreeBSD --- postfix/init.sls | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/postfix/init.sls b/postfix/init.sls index 8540765..d9d22a6 100644 --- a/postfix/init.sls +++ b/postfix/init.sls @@ -3,6 +3,10 @@ postfix: pkg.installed: - name: {{ postfix.package }} +{%- if grains['os_family']=="FreeBSD" %} + - force: True + - batch: True +{%- endif %} - watch_in: - service: postfix service.running: