Alexandros Kosiaris has submitted this change and it was merged.

Change subject: add network variables for dumps rsync clients
......................................................................


add network variables for dumps rsync clients

These are used in the rsynd setup on dataset1001/dumps hosts,
in the conf files generated from puppet, in the "hosts allow" section.

dataset1001:/etc/rsyncd.d# grep "hosts allow" *

Add them to network.pp so that we can use them as srange in ferm rules.

you can compare to: ./modules/dataset/files/rsync$ grep "hosts allow" *

Change-Id: I1588b85193558e102def1b8127f954f2f07fa389
---
M manifests/network.pp
1 file changed, 28 insertions(+), 0 deletions(-)

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



diff --git a/manifests/network.pp b/manifests/network.pp
index 9d49f4d..831455c 100644
--- a/manifests/network.pp
+++ b/manifests/network.pp
@@ -265,6 +265,34 @@
             ],
     }
 
+    # clients connecting to rsynd on dumps hosts
+    $dumps_rsync_clients = {
+        'peers' => [                # datasets to peers
+            '208.80.154.11',        # dataset1001.wikimedia.org
+            '208.80.154.16',        # ms1001.wikimedia.org
+            ],
+        'public' => [               # dumps to public
+            '200.236.31.1',         # sagres.c3sl.ufpr.br
+            '147.251.48.205',       # odysseus.fi.muni.cz, odysseus.linux.cz
+            '2001:718:801:230::cd', # odysseus.ip6.fi.muni.cz
+            '176.31.96.178',        # mirror.fr.wickedway.nl
+            '199.47.196.26',        # wikimedia.wansec.com
+            '204.9.55.82',          # ftpmirror.your.org
+            '174.129.186.231',      # 
ec2-174-129-186-231.compute-1.amazonaws.com
+            '69.31.98.2',           # ftpmirror-ae0-4.us.your.org
+            ],
+        'analytics' => [            # page counts to analytics
+            '10.64.5.102',          # stat1002.eqiad.wmnet
+            '10.64.36.103',         # stat1003.eqiad.wmnet
+            ],
+    }
+
+    $dumps_rsync_clients_all = [
+        $dumps_rsync_clients['peers'],
+        $dumps_rsync_clients['public'],
+        $dumps_rsync_clients['analytics'],
+    ]
+
 }
 
 class network::checks {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I1588b85193558e102def1b8127f954f2f07fa389
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: ArielGlenn <[email protected]>
Gerrit-Reviewer: BBlack <[email protected]>
Gerrit-Reviewer: JanZerebecki <[email protected]>
Gerrit-Reviewer: John F. Lewis <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to