Tim Landscheidt has uploaded a new change for review.

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

Change subject: puppetmaster: Clone repositories in Labs as root
......................................................................

puppetmaster: Clone repositories in Labs as root

Currently, after applying role::puppetmaster::standalone to a Labs
instance, /var/lib/git/labs/private is initially owned by
gitpuppet:root and /var/lib/git/operations/puppet by
gitpuppet:gitpuppet.  Subsequently, git-sync-upstream runs every ten
minutes as root and will overwrite some/create new files with the
owner root with each update.

This change causes the initial repositories to be owned by root.

Bug: T152059
Change-Id: I9e71b0df3144908f627eca0e163c64b2bc433160
---
M hieradata/labs.yaml
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/27/324727/1

diff --git a/hieradata/labs.yaml b/hieradata/labs.yaml
index 781852f..b23f126 100644
--- a/hieradata/labs.yaml
+++ b/hieradata/labs.yaml
@@ -35,6 +35,8 @@
 archiva::proxy::ssl_enabled: false
 archiva::proxy::certificate_name: ssl-cert-snakeoil
 statsite::instance::graphite_host: 'labmon1001.eqiad.wmnet'
+puppetmaster::git_user: root
+puppetmaster::git_group: root
 
 # Default to Dummy authenticator in JupyterHubs in labs
 jupyterhub::authenticator: dummy

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9e71b0df3144908f627eca0e163c64b2bc433160
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Tim Landscheidt <t...@tim-landscheidt.de>

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

Reply via email to