Andrew Bogott has submitted this change and it was merged.

Change subject: Add an 'apache' user to eqiad labstores.
......................................................................


Add an 'apache' user to eqiad labstores.

Apache isn't installed on the labstores, but the 'apache' user
in beta wants access to shared storage.

bug T76086

Change-Id: Id72f727e6feddccc779214918d346702802068c1
---
M manifests/site.pp
1 file changed, 17 insertions(+), 0 deletions(-)

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



diff --git a/manifests/site.pp b/manifests/site.pp
index 0f2b364..5dab16a 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -1478,6 +1478,23 @@
     }
 
     class { 'ldap::role::client::labs': ldapincludes => $ldapincludes }
+
+    # The 'apache' user in the beta project would like to access
+    #  shared storage.  Since we definitely aren't going to install
+    #  apache on the labstores, we explicitly create the apache
+    #  user here so it has access.
+    group { 'apache':
+        ensure => present,
+        system => true,
+        gid    => 48,
+    }
+
+    user { 'apache':
+        managehome => false,
+        system     => true,
+        uid        => 48,
+        gid        => 48,
+    }
 }
 
 node 'labstore1003.eqiad.wmnet' {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id72f727e6feddccc779214918d346702802068c1
Gerrit-PatchSet: 7
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <[email protected]>
Gerrit-Reviewer: Andrew Bogott <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: coren <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to