summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/manifests/cacert_boardvoting.pp
blob: 3aaf3d0c08c3cc47d56aa1c621bdf49fb4ef3ede (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Class: profiles::cacert_boardvoting
# ===================================
#
# This class defines the cacert_boardvoting profile that configures the CAcert
# board voting system.
#
# Parameters
# ----------
#
# This class has no parameters
#
# Examples
# --------
#
# @example
#   class roles::myhost {
#     include profiles::cacert_boardvoting
#   }
#
# Authors
# -------
#
# Jan Dittberner <jandd@cacert.org>
#
# Copyright
# ---------
#
# Copyright 2018-2019 Jan Dittberner
#
class profiles::cacert_boardvoting () {
  include apt
  apt::key { 'cacert':
    id      => '4C4F8164EFE3DAFEC82F22FC82D61CAA4E904466',
    server  => '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",
  }
}