From 513f72b46c7ac565df1b3a99768e1ac606d534dc Mon Sep 17 00:00:00 2001 From: Martin Krutina Date: Tue, 11 Dec 2018 16:44:22 +0100 Subject: [PATCH 1/2] add support for debian 9 stretch major release --- manifests/params.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index 7b80935..8297783 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -37,7 +37,10 @@ $postfix_version = undef $command_directory = '/usr/sbin' $config_directory = '/etc/postfix' - $daemon_directory = '/usr/lib/postfix' + $daemon_directory = $::operatingsystemmajrelease ? { + '9' => '/usr/lib/postfix/sbin', + default => '/usr/lib/postfix', + } $data_directory = '/var/lib/postfix' $manpage_directory = '/usr/share/man' $readme_directory = '/usr/share/doc/postfix' From 4f16bf658945711ac8f0f2822494f71c8726cb04 Mon Sep 17 00:00:00 2001 From: Martin Krutina Date: Tue, 11 Dec 2018 16:54:10 +0100 Subject: [PATCH 2/2] increase release version to 0.3.5 --- metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata.json b/metadata.json index 2d4b6ae..86da70f 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "thias-postfix", - "version": "0.3.4", + "version": "0.3.5", "author": "Matthias Saou", "license": "Apache-2.0", "summary": "Postfix Mail Transport Agent module",