diff options
author | Pascal Terjan <pterjan@mageia.org> | 2017-09-24 11:48:52 +0100 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2017-09-24 11:48:52 +0100 |
commit | a84eb42fd2924999e274c28310e33109ab61cf00 (patch) | |
tree | 99afc11cd89c7d22d9387e8db4b41fce3d461c1b /modules/postfix | |
parent | b4eb32a03e22dfbccf7465944a13a4052fe03b5d (diff) | |
download | puppet-a84eb42fd2924999e274c28310e33109ab61cf00.tar puppet-a84eb42fd2924999e274c28310e33109ab61cf00.tar.gz puppet-a84eb42fd2924999e274c28310e33109ab61cf00.tar.bz2 puppet-a84eb42fd2924999e274c28310e33109ab61cf00.tar.xz puppet-a84eb42fd2924999e274c28310e33109ab61cf00.zip |
Make Mageia 6 fix more widely avaialable
Diffstat (limited to 'modules/postfix')
-rw-r--r-- | modules/postfix/templates/main.cf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf index 2d40c90e..f3098cbd 100644 --- a/modules/postfix/templates/main.cf +++ b/modules/postfix/templates/main.cf @@ -11,13 +11,13 @@ sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop command_directory = /usr/sbin manpage_directory = /usr/share/man -<% if @hostname == 'neru' then %> +<% if scope.function_versioncmp([lsbdistrelease, '3']) < 0 -%> +daemon_directory = <%= lib_dir %>/postfix/ +<% else %> daemon_directory = /usr/libexec/postfix meta_directory = /etc/postfix shlib_directory = /usr/lib64 compatibility_level = 2 -<% else %> -daemon_directory = <%= lib_dir %>/postfix/ <% end %> data_directory = /var/lib/postfix newaliases_path = /usr/bin/newaliases |