Giuseppe Lavagetto has submitted this change and it was merged.

Change subject: deployment::rsync: the inactive server should sync with the 
master
......................................................................


deployment::rsync: the inactive server should sync with the master

Not vice-versa...

Change-Id: I0c117a6cb761e80cae5e7f8d84377b644d484c17
---
M modules/deployment/manifests/rsync.pp
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Giuseppe Lavagetto: Verified; Looks good to me, approved



diff --git a/modules/deployment/manifests/rsync.pp 
b/modules/deployment/manifests/rsync.pp
index 810c57c..0e8cd82 100644
--- a/modules/deployment/manifests/rsync.pp
+++ b/modules/deployment/manifests/rsync.pp
@@ -15,10 +15,10 @@
     }
 
     if ($deployment_server == $::fqdn) {
-        $ensure = 'present'
+        $ensure = 'absent'
     }
     else {
-        $ensure = 'absent'
+        $ensure = 'present'
     }
 
     cron { 'sync_deployment_dir':

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0c117a6cb761e80cae5e7f8d84377b644d484c17
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>

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

Reply via email to