Dzahn has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/392090 )

Change subject: smokeping: enable cron to auto-rsync data
......................................................................


smokeping: enable cron to auto-rsync data

With $auto_sync set to false, the rsync::quickdatacopy class
sets up rsyncd config and ferm rules to allow a human to copy data
but does not enable the additional cronjob to automatically run
the actual rsync command.

Enabling this (after we switched smokeping back to eqiad and changed
rsync direction accordingly).

But maybe it doesn't make much sense if we have the service running on both?

Do we want to have the service running on both or we want to declare
the current web frontend the "active server" and stop the service on the
other one?

Bug: T180812
Change-Id: I16fbeecbd672893e1b2f43940f1b482dcaed8486
---
M modules/role/manifests/smokeping.pp
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/modules/role/manifests/smokeping.pp 
b/modules/role/manifests/smokeping.pp
index 3b222fb..c5c4726 100644
--- a/modules/role/manifests/smokeping.pp
+++ b/modules/role/manifests/smokeping.pp
@@ -16,7 +16,7 @@
 
     rsync::quickdatacopy { 'var-lib-smokeping':
         ensure      => present,
-        auto_sync   => false,
+        auto_sync   => true,
         source_host => 'netmon1002.wikimedia.org',
         dest_host   => 'netmon2001.wikimedia.org',
         module_path => '/var/lib/smokeping',

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

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

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

Reply via email to