aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp12
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 != '' {