diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-12-31 18:27:48 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-12-31 18:27:48 -0300 |
commit | 8fa4d48ddc41c98060b401cdaf42546ff23ccc1e (patch) | |
tree | 6c6f32276adb0eae62cdff9707af1966edbf4e40 | |
parent | 7719b329338edb5d24a193197d25070a818b8de7 (diff) | |
download | puppet-mail-8fa4d48ddc41c98060b401cdaf42546ff23ccc1e.tar.gz puppet-mail-8fa4d48ddc41c98060b401cdaf42546ff23ccc1e.tar.bz2 |
-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, } |