Giuseppe Lavagetto has submitted this change and it was merged.

Change subject: puppet_compiler: add ferm rule to allow web access
......................................................................


puppet_compiler: add ferm rule to allow web access

As role::ci::slave::labs now includes ferm rules, we need to add one
specifically for the web interface of the compiler.

Change-Id: Ibd233bd1a234924657878b26693671a6b80920de
Signed-off-by: Giuseppe Lavagetto <glavage...@wikimedia.org>
---
M manifests/role/puppet_compiler.pp
1 file changed, 10 insertions(+), 1 deletion(-)

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



diff --git a/manifests/role/puppet_compiler.pp 
b/manifests/role/puppet_compiler.pp
index d67afb0..205b650 100644
--- a/manifests/role/puppet_compiler.pp
+++ b/manifests/role/puppet_compiler.pp
@@ -3,7 +3,16 @@
     system::role { 'role::puppet_compiler': description => 'Puppet compiler 
jenkins slave'}
 
     case $::realm {
-        'labs'      : { require role::ci::slave::labs::common }
+        'labs'      : {
+            require role::ci::slave::labs::common
+            ferm::service {'puppet_compiler_web':
+                ensure => 'present',
+                proto  => 'tcp',
+                port   => 'http',
+                prio   => '30',
+                srange => '\$INTERNAL'
+            }
+        }
         'production': { require role::ci::slave }
         default     : { fail("Realm ${::realm} NOT supported by this role.") }
     }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibd233bd1a234924657878b26693671a6b80920de
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <glavage...@wikimedia.org>
Gerrit-Reviewer: Alexandros Kosiaris <akosia...@wikimedia.org>
Gerrit-Reviewer: Giuseppe Lavagetto <glavage...@wikimedia.org>
Gerrit-Reviewer: Matanya <mata...@foss.co.il>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to