summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/manifests/cacert_boardvoting.pp
diff options
context:
space:
mode:
Diffstat (limited to 'sitemodules/profiles/manifests/cacert_boardvoting.pp')
-rw-r--r--sitemodules/profiles/manifests/cacert_boardvoting.pp13
1 files changed, 2 insertions, 11 deletions
diff --git a/sitemodules/profiles/manifests/cacert_boardvoting.pp b/sitemodules/profiles/manifests/cacert_boardvoting.pp
index e44e03a..e0de9b3 100644
--- a/sitemodules/profiles/manifests/cacert_boardvoting.pp
+++ b/sitemodules/profiles/manifests/cacert_boardvoting.pp
@@ -67,19 +67,10 @@ class profiles::cacert_boardvoting (
String $server_private_key,
String $vote_notice_mail_address = 'cacert-board-votes@lists.cacert.org',
) {
- include apt
- apt::key { 'cacert':
- id => '4C4F8164EFE3DAFEC82F22FC82D61CAA4E904466',
- source => 'http://webstatic.infra.cacert.org/cacert-debian-archive-2019.gpg',
- options => 'http-proxy=http://proxyout:3128',
- }
- apt::source { 'cacert':
- location => 'http://webstatic.infra.cacert.org',
- repos => 'main',
- release => "${::lsbdistcodename}-cacert",
- } ->
+ include profiles::cacert_debrepo
package { 'cacert-boardvoting':
ensure => latest,
+ require => Apt::Source['cacert'],
} ->
file { '/srv/cacert-boardvoting/config.yaml':
ensure => file,