aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-18 12:48:51 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-02-18 12:48:51 -0300
commitfc63e084ad794be2b7444be010f8b3f9e6a0d173 (patch)
treec6ed60121e83da74432252523395a5e343998f65
parentf6ac36366d6d04e1ac06550113afde2e5921820f (diff)
downloadpuppet-nodo-fc63e084ad794be2b7444be010f8b3f9e6a0d173.tar.gz
puppet-nodo-fc63e084ad794be2b7444be010f8b3f9e6a0d173.tar.bz2
Adding yacy's sources.list
-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,
+ }
}