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
|
# File 'manifests/repo/apt.pp', line 5
class octopass::repo::apt {
ensure_packages(['lsb-release', 'apt-transport-https'])
$distro = downcase($facts['os']['name'])
apt::source { 'octopass':
location => "https://packagecloud.io/linyows/octopass/${distro}/",
release => $facts['lsbdistcodename'],
repos => 'main',
key => {
id => '47047C5D908257FF9A722B845ED5553A1ECCB79B',
source => $::octopass::repo_gpgkey_url,
},
include => {
src => true,
deb => true,
},
require => [
Package['lsb-release'],
Package['apt-transport-https'],
],
}
}
|