diff options
author | Micah Anderson <micah@leap.se> | 2015-06-04 13:36:24 -0400 |
---|---|---|
committer | Micah Anderson <micah@leap.se> | 2015-06-04 13:36:24 -0400 |
commit | b4cc317aaf95e76fe648ef36895f6d4ba6fea490 (patch) | |
tree | 29c6cee08e97f4601f3e98d0a917d82ec2214cee | |
parent | 90142c3bc7dcbc4ec5384a11664a4b6d5e568439 (diff) |
add preferences snippet for leap repository (#7090)
Change-Id: Ia7a35c8613350ad75ff1ebbdda0a09efa0960ba6
-rw-r--r-- | puppet/modules/site_apt/manifests/init.pp | 6 |
1 files changed, 6 insertions, 0 deletions
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: |