diff options
Diffstat (limited to 'puppet/modules')
-rw-r--r-- | puppet/modules/site_apt/files/keys/leap-archive.gpg | bin | 20188 -> 21915 bytes | |||
-rw-r--r-- | puppet/modules/site_apt/files/keys/leap-experimental-archive.gpg | bin | 3423 -> 5177 bytes | |||
-rw-r--r-- | puppet/modules/site_apt/manifests/leap_repo.pp | 14 |
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 Binary files differindex dd7f3be6..dc19f623 100644 --- a/puppet/modules/site_apt/files/keys/leap-archive.gpg +++ b/puppet/modules/site_apt/files/keys/leap-archive.gpg diff --git a/puppet/modules/site_apt/files/keys/leap-experimental-archive.gpg b/puppet/modules/site_apt/files/keys/leap-experimental-archive.gpg Binary files differindex 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 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 - } - } |