diff --git a/manifests/init.pp b/manifests/init.pp index dcf73a0cd8d8408f5c1b35aff5441543de6edbbf..0a6fa046b5705ebd52072a5eb054e96bd1cb0487 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -96,7 +96,15 @@ class su_debuild ( ## Install ubuntu-archive-keyring # We add the Ubuntu keyring in case we want to build Ubuntu packages. - package {'ubuntu-archive-keyring': ensure => installed } + # This package is not (yet) in bullseye, so we only install it for + # buster, stretch, or sid. + case $::lsbdistcodename { + 'buster', 'stretch', 'sid': { + package { + 'ubuntu-archive-keyring': ensure => installed; + } + } + } # Additional packages to build kernel modules. case $::lsbdistcodename {