diff --git a/manifests/icinga2/apt_config.pp b/manifests/icinga2/apt_config.pp index 9b8f4d5..1704704 100644 --- a/manifests/icinga2/apt_config.pp +++ b/manifests/icinga2/apt_config.pp @@ -1,17 +1,20 @@ # Icinga2 APT configuration class profile::icinga2::apt_config { $mirror = hiera('icinga2::apt_config::mirror') $keyid = hiera('icinga2::apt_config::keyid') $key = hiera('icinga2::apt_config::key') apt::source { 'icinga-stable-release': - location => $mirror, - release => "icinga-${::lsbdistcodename}", - repos => 'main', - key => { + location => $mirror, + release => "icinga-${::lsbdistcodename}", + repos => 'main', + key => { id => $keyid, content => $key, }, - include_src => false, + include => { + src => false, + deb => true, + }, } }