summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarac <varac@leap.se>2018-03-20 20:39:08 +0100
committerVarac <varac@leap.se>2018-03-20 21:58:35 +0100
commit09031d90055e80c8101f06951b824f5c7fa96e14 (patch)
tree76ef2af702c559797c8f3187c89f704342d73651
parent712f0b0e23c15314ed60f72802e72bb3688d2c8c (diff)
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
-rw-r--r--puppet/modules/site_apt/files/keys/leap-archive.gpgbin20188 -> 21915 bytes
-rw-r--r--puppet/modules/site_apt/files/keys/leap-experimental-archive.gpgbin3423 -> 5177 bytes
-rw-r--r--puppet/modules/site_apt/manifests/leap_repo.pp14
3 files changed, 10 insertions, 4 deletions
diff --git a/puppet/modules/site_apt/files/keys/leap-archive.gpg b/puppet/modules/site_apt/files/keys/leap-archive.gpg
index dd7f3be6..dc19f623 100644
--- a/puppet/modules/site_apt/files/keys/leap-archive.gpg
+++ b/puppet/modules/site_apt/files/keys/leap-archive.gpg
Binary files differ
diff --git a/puppet/modules/site_apt/files/keys/leap-experimental-archive.gpg b/puppet/modules/site_apt/files/keys/leap-experimental-archive.gpg
index 5cc9064b..19e6ba1f 100644
--- a/puppet/modules/site_apt/files/keys/leap-experimental-archive.gpg
+++ b/puppet/modules/site_apt/files/keys/leap-experimental-archive.gpg
Binary files differ
diff --git a/puppet/modules/site_apt/manifests/leap_repo.pp b/puppet/modules/site_apt/manifests/leap_repo.pp
index 1e18b441..d3ab463d 100644
--- a/puppet/modules/site_apt/manifests/leap_repo.pp
+++ b/puppet/modules/site_apt/manifests/leap_repo.pp
@@ -21,13 +21,19 @@ class site_apt::leap_repo {
}
}
+ file {
+ '/etc/apt/trusted.gpg.d/leap-archive.gpg':
+ ensure => present,
+ source => 'puppet:///modules/site_apt/keys/leap-archive.gpg';
+ '/etc/apt/trusted.gpg.d/leap-experimental-archive.gpg':
+ ensure => present,
+ source => 'puppet:///modules/site_apt/keys/leap-experimental-archive.gpg'
+ }
+
+
apt::sources_list { 'leap.list':
content => "deb [signed-by=${archive_key}] ${::site_apt::apt_url_platform_basic} ${::site_apt::apt_platform_component} ${::site_apt::apt_platform_codename}\n",
before => Exec[refresh_apt]
}
- package { 'leap-archive-keyring':
- ensure => latest
- }
-
}