Dzahn has submitted this change and it was merged.

Change subject: stat1001: setup to rsync /srv/ and /var/www
......................................................................


stat1001: setup to rsync /srv/ and /var/www

Per the comments on T76348#2199488 ff, also
copy /var/www/ and /srv/ from stat1001.

But beware, the size is huge, we still need to find a host
to put this on.

Bug:T76348
Change-Id: I1468d247301a9efb66c4b41ba619fabef6f534f2
---
M manifests/role/statistics.pp
1 file changed, 16 insertions(+), 2 deletions(-)

Approvals:
  jenkins-bot: Verified
  Dzahn: Looks good to me, approved



diff --git a/manifests/role/statistics.pp b/manifests/role/statistics.pp
index caceec4..3884471 100644
--- a/manifests/role/statistics.pp
+++ b/manifests/role/statistics.pp
@@ -219,14 +219,28 @@
 
     include rsync::server
 
-    file { [ '/a/stat1001', '/a/stat1001/home' ]:
+    file { [ '/srv/stat1001', '/srv/stat1001/home',
+        '/srv/stat1001/var', '/srv/stat1001/var/www',
+        '/srv/stat1001/srv',
+        ]:
         ensure => 'directory',
     }
 
     rsync::server::module { 'home':
-        path        => '/a/stat1001/home',
+        path        => '/srv/stat1001/home',
         read_only   => 'no',
         hosts_allow => $sourceip,
     }
 
+    rsync::server::module { 'varwww':
+        path        => '/srv/stat1001/var/www',
+        read_only   => 'no',
+        hosts_allow => $sourceip,
+    }
+
+    rsync::server::module { 'srv':
+        path        => '/srv/stat1001/srv',
+        read_only   => 'no',
+        hosts_allow => $sourceip,
+    }
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I1468d247301a9efb66c4b41ba619fabef6f534f2
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to