Dzahn has uploaded a new change for review.

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

Change subject: backup home dirs on bastion hosts per role
......................................................................

backup home dirs on bastion hosts per role

It should be a property of the role bastionhost that home
directories are being backed up.

As opposed to indidivual hosts (but not all) having it added in site.pp

Change-Id: Ie0129346e9116520caacadb63f0e63fa08aa9fbf
---
M manifests/role/bastionhost.pp
M manifests/site.pp
2 files changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/57/220657/1

diff --git a/manifests/role/bastionhost.pp b/manifests/role/bastionhost.pp
index 55e82ee..c4b0d62 100644
--- a/manifests/role/bastionhost.pp
+++ b/manifests/role/bastionhost.pp
@@ -13,4 +13,6 @@
         proto => 'tcp',
         port  => 'ssh',
     }
+
+    backup::set {'home': }
 }
diff --git a/manifests/site.pp b/manifests/site.pp
index 4659639..13ff8c6 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -1236,7 +1236,6 @@
     include role::ipmi
     include role::access_new_install
     include role::backup::host
-    backup::set {'home': }
 }
 
 node 'labcontrol1001.wikimedia.org' {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie0129346e9116520caacadb63f0e63fa08aa9fbf
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