aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/etc/sources.list.d/yacy.net.list1
-rw-r--r--manifests/yacy.pp5
2 files changed, 6 insertions, 0 deletions
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,
+ }
}