From 2b32b24ace5c20bb9f8fcb42edc2839a82c0ce30 Mon Sep 17 00:00:00 2001 From: amontero-referup Date: Thu, 13 Mar 2014 15:57:51 +0100 Subject: Add tor::repo class with apt::source from torproject.org . --- manifests/repo.pp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 manifests/repo.pp 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, + } +} -- cgit v1.2.3