diff options
-rw-r--r-- | manifests/virtual/packages.pp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/manifests/virtual/packages.pp b/manifests/virtual/packages.pp index 4dc173c..1c36548 100644 --- a/manifests/virtual/packages.pp +++ b/manifests/virtual/packages.pp @@ -5,7 +5,18 @@ class mail::virtual::packages { ensure => absent, } - package { [ 'libpam-mysql', 'libgsasl7' ]: + package { [ 'libpam-mysql', ]: + ensure => installed, + } + + package { [ 'libgsasl', ]: + name => $::lsbdistcodename ? { + 'bookworm' => 'libgsasl18', + 'bullseye' => 'libgsasl7', + 'buster' => 'libgsasl7', + 'stretch' => 'libgsasl7', + default => 'libgsasl', + }, ensure => installed, } |