diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-02-24 21:49:26 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-02-24 21:49:26 -0300 |
commit | 83a0771b78922e725cf5e1750572facfb053d38e (patch) | |
tree | d33f3c70651bf9c1744d3c99251e6a9d37986b8a | |
parent | a2c7585e4236c6fe780baeb6f263c85b548ecba4 (diff) | |
download | puppet-monkeysphere-83a0771b78922e725cf5e1750572facfb053d38e.tar.gz puppet-monkeysphere-83a0771b78922e725cf5e1750572facfb053d38e.tar.bz2 |
Fix: update package availability depending on the Debian version
-rw-r--r-- | manifests/init.pp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index b06a535..4c360c2 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -30,8 +30,16 @@ class monkeysphere( $keyserver = 'pool.sks-keyservers.net' ) { # The needed packages - package { 'monkeysphere': - ensure => $ensure_version, + package { [ + 'monkeysphere', + ]: + ensure => $::lsbdistcodename ? { + 'buster' => present, + 'bullseye' => present, + 'sid' => present, + 'experimental' => present, + default => $ensure_version, + } } if $ssh_port != '' { |