summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apt/manifests/leap_repo.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_apt/manifests/leap_repo.pp')
-rw-r--r--puppet/modules/site_apt/manifests/leap_repo.pp14
1 files changed, 10 insertions, 4 deletions
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
- }
-
}