Ottomata has submitted this change and it was merged. Change subject: Allowing rsync to /var/www from stat1 for hosting of public data. ......................................................................
Allowing rsync to /var/www from stat1 for hosting of public data. Change-Id: I199456451313d7adbb20b509eec2e75f7f089f5d --- M manifests/misc/statistics.pp 1 file changed, 13 insertions(+), 3 deletions(-) Approvals: Ottomata: Verified; Looks good to me, approved jenkins-bot: Verified diff --git a/manifests/misc/statistics.pp b/manifests/misc/statistics.pp index 99b422b..b7bd855 100644 --- a/manifests/misc/statistics.pp +++ b/manifests/misc/statistics.pp @@ -567,13 +567,23 @@ # set up an rsync daemon service include rsync::server - # set up an rsync module - # (in /etc/rsync.conf) for /a + # Set up an rsync module + # (in /etc/rsync.conf) for /a. rsync::server::module { "a": path => "/a", read_only => "no", list => "yes", - # allow only statistics servers (stat1, stat1001) + hosts_allow => $hosts_allow, + } + + # Set up an rsync module + # (in /etc/rsync.conf) for /var/www. + # This will allow $hosts_allow to host public data files + # from the default Apache VirtualHost. + rsync::server::module { "/var/www": + path => "/var/www", + read_only => "no", + list => "yes", hosts_allow => $hosts_allow, } } -- To view, visit https://gerrit.wikimedia.org/r/54871 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I199456451313d7adbb20b509eec2e75f7f089f5d Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Ottomata <o...@wikimedia.org> Gerrit-Reviewer: Ottomata <o...@wikimedia.org> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits