diff options
author | amontero-referup <amontero@referup.com> | 2014-03-13 15:57:51 +0100 |
---|---|---|
committer | amontero-referup <amontero@referup.com> | 2014-03-13 15:59:27 +0100 |
commit | 2b32b24ace5c20bb9f8fcb42edc2839a82c0ce30 (patch) | |
tree | 82542a4884c3306d194b61fd952344532f0b3ad9 /manifests/repo.pp | |
parent | 0e27df241f28987ea66a2b32a7a239f427b71bcd (diff) | |
download | puppet-tor-2b32b24ace5c20bb9f8fcb42edc2839a82c0ce30.tar.gz puppet-tor-2b32b24ace5c20bb9f8fcb42edc2839a82c0ce30.tar.bz2 |
Add tor::repo class with apt::source from torproject.org .
Diffstat (limited to 'manifests/repo.pp')
-rw-r--r-- | manifests/repo.pp | 12 |
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, + } +} |