diff options
author | varac <varacanero@zeromail.org> | 2015-11-03 18:42:01 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2015-11-17 19:51:11 +0100 |
commit | 0d8659d2bbcdc2da8481aa1445affc069b61c2e7 (patch) | |
tree | 2c8bf0b22e7bcd6901550579428a0941811d6287 | |
parent | ea12d065ae433b9f67c80578bfa83fcdd8d46443 (diff) |
[feat] Release-specific apt sources file for leap
- Related: #6920
-rw-r--r-- | puppet/modules/site_apt/manifests/leap_repo.pp | 4 |
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] } |