Dzahn has uploaded a new change for review.

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

Change subject: Revert "Revert "dumps: ferm service for rsyncd clients using 
hiera""
......................................................................

Revert "Revert "dumps: ferm service for rsyncd clients using hiera""

This reverts commit e2babb0916f5a9680066aaa6dcf8b2f8db1bacce.

Change-Id: I52c83eb9134101ac97be4225d8587d1ef4859c7a
---
M manifests/role/dumps.pp
1 file changed, 10 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/71/202971/1

diff --git a/manifests/role/dumps.pp b/manifests/role/dumps.pp
index e2ef5e1..0a0929f 100644
--- a/manifests/role/dumps.pp
+++ b/manifests/role/dumps.pp
@@ -9,4 +9,14 @@
         description   => 'HTTP',
         check_command => 'check_http'
     }
+
+    $rsync_clients = hiera('dumps::rsync_clients')
+    $rsync_clients_ferm = join($rsync_clients, ' ')
+
+    ferm::service {'dumps-rsyncd':
+        port   => '873',
+        proto  => 'tcp',
+        srange => "@resolve(($rsync_clients_ferm))",
+    }
+
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I52c83eb9134101ac97be4225d8587d1ef4859c7a
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <dz...@wikimedia.org>

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

Reply via email to