Skip to content
Snippets Groups Projects
Commit 8091e521 authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

install an ubuntu keyring file for debian bullseye machines

parent b69efd9e
No related branches found
No related tags found
No related merge requests found
File added
# This class installs the ubuntu package repository keyring. These keys
# are needed so that the process that creates the chroot directories in
# /var/cache/pbuild can download packages from the Ubuntu package
# repositories.
#
# Debian bullseye does not include the ubuntu-keyring package so we
# install the needed GPG key file directly.
class su_debuild::ubuntu_keyring {
case $::lsbdistcodename {
'bullseye': {
file { '/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg':
ensure => present,
source => 'puppet:///modules/su_debuild/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg',
mode => '0644',
}
}
default: { fail("do not know how to handle ${::lsbdistcodename}") }
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment