summaryrefslogtreecommitdiff
path: root/manifests/repo.pp
diff options
context:
space:
mode:
authorLouis-Philippe VĂ©ronneau <pollito@riseup.net>2018-03-06 17:29:54 +0000
committerLouis-Philippe VĂ©ronneau <pollito@riseup.net>2018-03-06 17:29:54 +0000
commit7c40929d8a2a9438ccd883e9d856d526b852da8c (patch)
treed8529a383482db6cd716c16074e6b798c1069e7b /manifests/repo.pp
parent228ae4a53999dbc49fa7c4d2883468dde10f19fb (diff)
parent6ebebe3ab04e8ba3d4b651e49012646046642160 (diff)
Merge branch 'immerda-merge' into 'master'
Immerda merge Closes #2 See merge request shared-puppet-modules-group/tor!19
Diffstat (limited to 'manifests/repo.pp')
-rw-r--r--manifests/repo.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/repo.pp b/manifests/repo.pp
index 9549219..d9d43ec 100644
--- a/manifests/repo.pp
+++ b/manifests/repo.pp
@@ -1,4 +1,4 @@
-# setup repository for tor
+# add upstream repositories of torproject
class tor::repo (
$ensure = present,
$source_name = 'torproject.org',
@@ -10,6 +10,9 @@ class tor::repo (
$location = 'https://deb.torproject.org/torproject.org/'
class { 'tor::repo::debian': }
}
+ 'RedHat': {
+ # no need as EPEL is the relevant reference
+ }
default: {
fail("Unsupported managed repository for osfamily: ${::osfamily}, operatingsystem: ${::operatingsystem}, module ${module_name} currently only supports managing repos for osfamily Debian and Ubuntu") # lint:ignore:80chars
}