Fix Apt::Update order for icinga2 packages
authorJan Dittberner <jandd@cacert.org>
Sun, 28 Jul 2019 20:30:14 +0000 (22:30 +0200)
committerJan Dittberner <jandd@cacert.org>
Sun, 28 Jul 2019 20:30:14 +0000 (22:30 +0200)
sitemodules/profiles/manifests/icinga2_common.pp

index be6ffa8..caeb498 100644 (file)
@@ -37,6 +37,6 @@ class profiles::icinga2_common (
       priority => 500,
       release  => 'stretch-backports',
     }
-    Apt::Pin['icinga2_backports'] -> Package <| name == 'icinga2' or name == 'icinga2-ido-pgsql' |>
+    Apt::Pin['icinga2_backports'] -> Class['Apt::Update'] -> Package <| tag == 'icinga2' or tag == 'icinga2-ido-pgsql' |>
   }
 }