From b4cc317aaf95e76fe648ef36895f6d4ba6fea490 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Thu, 4 Jun 2015 13:36:24 -0400 Subject: add preferences snippet for leap repository (#7090) Change-Id: Ia7a35c8613350ad75ff1ebbdda0a09efa0960ba6 --- puppet/modules/site_apt/manifests/init.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/puppet/modules/site_apt/manifests/init.pp b/puppet/modules/site_apt/manifests/init.pp index c32c29c4..02f85140 100644 --- a/puppet/modules/site_apt/manifests/init.pp +++ b/puppet/modules/site_apt/manifests/init.pp @@ -31,6 +31,12 @@ class site_apt { priority => 999 } + apt::preferences_snippet { 'leap': + priority => 999, + package => '*', + pin => 'origin "deb.leap.se"' + } + # All packages should be installed _after_ refresh_apt is called, # which does an apt-get update. # There is one exception: -- cgit v1.2.3