Andrew Bogott has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/71106


Change subject: Convert the search rsyncd to the new rsync module.
......................................................................

Convert the search rsyncd to the new rsync module.

Change-Id: I2b5f54a5572bf868888f063e6b747cc1b9d5f0f9
---
D files/rsync/rsyncd.conf.searchidx
M manifests/search.pp
2 files changed, 7 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/06/71106/1

diff --git a/files/rsync/rsyncd.conf.searchidx 
b/files/rsync/rsyncd.conf.searchidx
deleted file mode 100644
index 11ff09b..0000000
--- a/files/rsync/rsyncd.conf.searchidx
+++ /dev/null
@@ -1,4 +0,0 @@
-[search]
-path = /a/search/indexes
-comment = Lucene Search 2 index data
-read only = yes
diff --git a/manifests/search.pp b/manifests/search.pp
index 2fcdc1d..c610378 100644
--- a/manifests/search.pp
+++ b/manifests/search.pp
@@ -138,7 +138,13 @@
 
        class indexer {
 
-               class { 'generic::rsyncd': config => "searchidx" }
+               include rsync::server
+               rsync::server::module {
+                       'search':
+                               path        => '/a/search/indexes',
+                               read_only   => 'yes',
+                               comment   => 'Lucene Search 2 index data';
+               }
 
                file {
                        "/a/search/conf/nooptimize.dblist":

-- 
To view, visit https://gerrit.wikimedia.org/r/71106
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2b5f54a5572bf868888f063e6b747cc1b9d5f0f9
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <abog...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to