blob: f62559953117fc101f65171799bb8c0c1f557acd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
class tor::repo (
$ensure = present,
$source_name = 'torproject.org',
$include_src = false,
) {
case $::osfamily {
'Debian': {
$key = '886DDD89'
$location = 'https://deb.torproject.org/torproject.org/'
class { 'tor::repo::debian': }
}
default: {
fail("Unsupported managed repository for osfamily: ${::osfamily}, operatingsystem: ${::operatingsystem}, module ${module_name} currently only supports managing repos for osfamily Debian and Ubuntu")
}
}
}
|