summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apt/manifests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-11-03 18:42:01 +0100
committervarac <varacanero@zeromail.org>2015-11-17 19:51:11 +0100
commit0d8659d2bbcdc2da8481aa1445affc069b61c2e7 (patch)
tree2c8bf0b22e7bcd6901550579428a0941811d6287 /puppet/modules/site_apt/manifests
parentea12d065ae433b9f67c80578bfa83fcdd8d46443 (diff)
[feat] Release-specific apt sources file for leap
- Related: #6920
Diffstat (limited to 'puppet/modules/site_apt/manifests')
-rw-r--r--puppet/modules/site_apt/manifests/leap_repo.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/puppet/modules/site_apt/manifests/leap_repo.pp b/puppet/modules/site_apt/manifests/leap_repo.pp
index 2d4ba0e1..462b2686 100644
--- a/puppet/modules/site_apt/manifests/leap_repo.pp
+++ b/puppet/modules/site_apt/manifests/leap_repo.pp
@@ -1,9 +1,11 @@
+# install leap deb repo together with leap-keyring package
+# containing the apt signing key
class site_apt::leap_repo {
$platform = hiera_hash('platform')
$major_version = $platform['major_version']
apt::sources_list { 'leap.list':
- content => "deb http://deb.leap.se/${major_version} wheezy main\n",
+ content => "deb http://deb.leap.se/${major_version} ${::lsbdistcodename} main\n",
before => Exec[refresh_apt]
}