thias / puppet-postfix

Puppet Postfix module
Other
17 stars 117 forks source link

Patch params for Ubuntu 16.04+. #112

Open dconry opened 7 years ago

dconry commented 7 years ago

Here is a patch to fix a service warning on Ubuntu 16.04+. There might be other things that need fixing too, but this fixes a visible issue in the default install.

Postfix decided to disallow shlib_directory = daemon_directory in 3.0+. Ubuntu added an 'sbin' subdir to house the daemon_directory going forward. I added this new location to daemon_directory in params.pp.

A better way might be to set the old default for all existing old Ubuntu versions & change the 'default' case to the new default. But this way works best for my existing environment.

I also attach a patch, in case people want to patch current release to work on thias-postfix_patch.txt xenial.