summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/manifests/icinga2_common.pp
diff options
context:
space:
mode:
Diffstat (limited to 'sitemodules/profiles/manifests/icinga2_common.pp')
-rw-r--r--sitemodules/profiles/manifests/icinga2_common.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/sitemodules/profiles/manifests/icinga2_common.pp b/sitemodules/profiles/manifests/icinga2_common.pp
index ac4001b..c1c9be2 100644
--- a/sitemodules/profiles/manifests/icinga2_common.pp
+++ b/sitemodules/profiles/manifests/icinga2_common.pp
@@ -26,10 +26,10 @@ class profiles::icinga2_common (
],
priority => 500,
release => 'stretch-backports',
- before => Package['icinga2', 'icinga2-ido-pgsql'],
- }
- package { 'icinga2':
- ensure => latest,
}
+ Apt::Pin['icinga2_backports'] -> Package <| name == 'icinga2' or name == 'icinga2-ido-pgsql' |>
+ }
+ package { 'icinga2':
+ ensure => latest,
}
}