From fc63e084ad794be2b7444be010f8b3f9e6a0d173 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 18 Feb 2013 12:48:51 -0300 Subject: Adding yacy's sources.list --- files/etc/sources.list.d/yacy.net.list | 1 + manifests/yacy.pp | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 files/etc/sources.list.d/yacy.net.list diff --git a/files/etc/sources.list.d/yacy.net.list b/files/etc/sources.list.d/yacy.net.list new file mode 100644 index 0000000..ba58886 --- /dev/null +++ b/files/etc/sources.list.d/yacy.net.list @@ -0,0 +1 @@ +deb http://debian.yacy.net ./ diff --git a/manifests/yacy.pp b/manifests/yacy.pp index 3a302cf..915e0c3 100644 --- a/manifests/yacy.pp +++ b/manifests/yacy.pp @@ -25,4 +25,9 @@ class nodo::yacy inherits nodo::vserver { data_dir => "$tor::daemon::data_dir/hidden", ensure => present, } + + apt::sources_list { "yacy.net.list": + source => [ "puppet:///modules/nodo/etc/sources.list.d/yacy.net.list" ], + ensure => present, + } } -- cgit v1.2.3