Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need additional logic for Postfix v3 on Debian and Ubuntu #98

Open
ianssoftcom opened this issue Jul 29, 2016 · 2 comments
Open

Need additional logic for Postfix v3 on Debian and Ubuntu #98

ianssoftcom opened this issue Jul 29, 2016 · 2 comments

Comments

@ianssoftcom
Copy link

The daemon_directory path has changed with v3, and the module should account for that.

I used the following work-around for Ubuntu Xenial:

    if $::operatingsystem == 'Ubuntu' and versioncmp($::operatingsystemrelease,'16.04') >=0 {
      class { '::postfix::server':
        relayhost        => $smarthost,
        daemon_directory => '/usr/lib/postfix/sbin',
      }
    } else {
      class { '::postfix::server':
        relayhost => $smarthost,
      }
    }

Thanks,

i.

@jchonig
Copy link

jchonig commented Sep 29, 2016

3.0 also needs compatibility_level=2 to run, see the compatibility mode web page.

@dconry
Copy link

dconry commented May 3, 2017

See also: #112

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants