Akosiaris has uploaded a new change for review.

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


Change subject: Adding brewster to new backup system
......................................................................

Adding brewster to new backup system

Also makes helium's stanza for backup more readable

Change-Id: I66ba9ab859e826ef31079b94d44f8f5436c81c52
---
M manifests/site.pp
1 file changed, 28 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/23/80223/1

diff --git a/manifests/site.pp b/manifests/site.pp
index 51a8762..5c7cb66 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -262,6 +262,25 @@
     class { 'misc::haproxy':
         config_file =>  'puppet:///files/puppet/haproxy.cfg',
     }
+    # Backup sets
+    $backupsets => {
+        'srv-autoinstall' => {
+            fileset     => 'srv-autoinstall',
+            jobdefaults => 'Monthly-1st-Tue-production',
+        },
+        'srv-tftpboot' => {
+            fileset     => 'srv-tftpboot',
+            jobdefaults => 'Monthly-1st-Wed-production',
+        },
+        'srv-wikimedia' => {
+            fileset     => 'srv-wikimedia',
+            jobdefaults => 'Monthly-1st-Thu-production',
+        },
+    }
+
+    class { 'backup::host':
+        sets => $backupsets,
+    }
 }
 
 node "caesium.wikimedia.org" {
@@ -1058,11 +1077,16 @@
         role::backup::director,
         role::backup::storage
 
+    # Backup sets
+    $backupsets => {
+        'roothome'  => {
+            fileset     => 'roothome',
+            jobdefaults => 'Monthly-1st-Mon-production',
+        },
+    }
+
     class { 'backup::host':
-        sets    => {
-            'roothome' => { fileset => 'roothome',
-                            jobdefaults => 'Monthly-1st-Mon-production', },
-        }
+        sets => $backupsets,
     }
 }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I66ba9ab859e826ef31079b94d44f8f5436c81c52
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Akosiaris <[email protected]>

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

Reply via email to