From af5e9f88628d15481dac21ee8bc7b30d9c857955 Mon Sep 17 00:00:00 2001 From: Florian Ermisch Date: Thu, 24 Aug 2017 11:27:43 +0200 Subject: [PATCH] Add FreeBSD to map.jinja; root_grp, xbin_prefix to defaults.yaml Accidentally already added config_path in the last commit, not redoing it again. --- postfix/defaults.yaml | 2 ++ postfix/map.jinja | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/postfix/defaults.yaml b/postfix/defaults.yaml index ef4f857..4cdf80d 100644 --- a/postfix/defaults.yaml +++ b/postfix/defaults.yaml @@ -7,4 +7,6 @@ postfix: package: postfix postsrsd_pkg: postsrsd postgrey_pkg: postgrey + root_grp: root service: postfix + xbin_prefix: /usr diff --git a/postfix/map.jinja b/postfix/map.jinja index 3e0846c..af305fd 100644 --- a/postfix/map.jinja +++ b/postfix/map.jinja @@ -61,6 +61,13 @@ that differ from whats in defaults.yaml 'Arch' : { 'policyd_spf_pkg': 'python-postfix-policyd-spf', }, + 'FreeBSD' : { + 'policyd_spf_pkg': 'py27-postfix-policyd-spf-python', + 'aliases_file': '/etc/mail/aliases', + 'xbin_prefix': '/usr/local', + 'config_path': '/usr/local/etc/postfix', + 'root_grp': 'wheel', + }, }, merge=salt['pillar.get']('postfix:lookup')) %} {## Merge the flavor_map to the default settings ##}