Skip to content
This repository was archived by the owner on Feb 25, 2020. It is now read-only.

Commit 09031d9

Browse files
author
Varac
committed
Bug: Directly deploy leap-archive keyrings
The leap-archive keyring expired March 8th 2018. We updated it, and published updated installation docs at https://bitmask.net/en/install/linux. For jessie, we dont install the leap-archive-keyring package anymore but directly deploy the keys to apt's trusted keystore. - Fixes: https://0xacab.org/leap/bitmask-dev/issues/9279
1 parent 712f0b0 commit 09031d9

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed
Binary file not shown.
Binary file not shown.

puppet/modules/site_apt/manifests/leap_repo.pp

+10-4
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,19 @@
2121
}
2222
}
2323

24+
file {
25+
'/etc/apt/trusted.gpg.d/leap-archive.gpg':
26+
ensure => present,
27+
source => 'puppet:///modules/site_apt/keys/leap-archive.gpg';
28+
'/etc/apt/trusted.gpg.d/leap-experimental-archive.gpg':
29+
ensure => present,
30+
source => 'puppet:///modules/site_apt/keys/leap-experimental-archive.gpg'
31+
}
32+
33+
2434
apt::sources_list { 'leap.list':
2535
content => "deb [signed-by=${archive_key}] ${::site_apt::apt_url_platform_basic} ${::site_apt::apt_platform_component} ${::site_apt::apt_platform_codename}\n",
2636
before => Exec[refresh_apt]
2737
}
2838

29-
package { 'leap-archive-keyring':
30-
ensure => latest
31-
}
32-
3339
}

0 commit comments

Comments
 (0)