Yuvipanda has submitted this change and it was merged.

Change subject: ocg: Don't include admin class in labs
......................................................................


ocg: Don't include admin class in labs

Admin doesn't work on labs yet, and should be guarded.

Change-Id: Iba680504cb073c2a682a6d268bcba702e6620520
---
M manifests/role/ocg.pp
1 file changed, 3 insertions(+), 1 deletion(-)

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



diff --git a/manifests/role/ocg.pp b/manifests/role/ocg.pp
index 951f9e2..8dfc03f 100644
--- a/manifests/role/ocg.pp
+++ b/manifests/role/ocg.pp
@@ -8,7 +8,9 @@
 class role::ocg {
     include base::firewall
     include standard
-    include admin
+    if $::realm == 'production' {
+        include admin
+    }
 
     # size of tmpfs filesystem
     $tmpfs_size = hiera('role::ocg::tmpfs_size', '512M')

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iba680504cb073c2a682a6d268bcba702e6620520
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to