aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramontero-referup <amontero@referup.com>2014-03-13 15:57:51 +0100
committeramontero-referup <amontero@referup.com>2014-03-13 15:59:27 +0100
commit2b32b24ace5c20bb9f8fcb42edc2839a82c0ce30 (patch)
tree82542a4884c3306d194b61fd952344532f0b3ad9
parent0e27df241f28987ea66a2b32a7a239f427b71bcd (diff)
downloadpuppet-tor-2b32b24ace5c20bb9f8fcb42edc2839a82c0ce30.tar.gz
puppet-tor-2b32b24ace5c20bb9f8fcb42edc2839a82c0ce30.tar.bz2
Add tor::repo class with apt::source from torproject.org .
-rw-r--r--manifests/repo.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/repo.pp b/manifests/repo.pp
new file mode 100644
index 0000000..860123b
--- /dev/null
+++ b/manifests/repo.pp
@@ -0,0 +1,12 @@
+class tor::repo (
+ $ensure = present,
+ $name = 'torproject.org',
+ $include_src = false,
+) {
+ apt::source { $name:
+ ensure => $ensure,
+ location => 'https://deb.torproject.org/torproject.org/',
+ key => '886DDD89',
+ include_src => $include_src,
+ }
+}