From 1ebf2a78d82612c75b900a68cb9e1becfed3be84 Mon Sep 17 00:00:00 2001 From: Lennart Betz Date: Mon, 15 May 2017 15:14:15 +0200 Subject: [PATCH] fix #299 idp packages are managed before-repository --- manifests/repo.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/manifests/repo.pp b/manifests/repo.pp index a5e90307c..4fd01a86c 100644 --- a/manifests/repo.pp +++ b/manifests/repo.pp @@ -40,6 +40,9 @@ } } 'debian': { + # handle icinga stable repo before all package resources + # contain class problem! + Apt::Source['icinga-stable-release'] -> Package <||> case $::operatingsystem { 'debian': { include ::apt, ::apt::backports @@ -50,7 +53,8 @@ key => { id => 'F51A91A5EE001AA5D77D53C4C6E319C334410682', source => 'http://packages.icinga.com/icinga.key', - }; + }, + require => Class['::apt::backports'], } } 'ubuntu': {