Ema has uploaded a new change for review.

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

Change subject: Install VMODs on Varnish 4 instances
......................................................................

Install VMODs on Varnish 4 instances

Varnish 4 allows to build Varnish Modules out of tree. We have created a
separate Debian package for each VMOD required by our VCL.

We want to make sure those packages are installed on Varnish 4
instances.

Bug: T124281
Change-Id: I8e4bed92349fdf0b906d71eefb3bd8b14a9c5667
---
M modules/varnish/manifests/packages.pp
1 file changed, 13 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/17/279617/1

diff --git a/modules/varnish/manifests/packages.pp 
b/modules/varnish/manifests/packages.pp
index fb58270..abb7749 100644
--- a/modules/varnish/manifests/packages.pp
+++ b/modules/varnish/manifests/packages.pp
@@ -9,4 +9,17 @@
         ensure  => $version,
         require => Class['varnish::apt_preferences'],
     }
+
+    if (hiera('varnish_version4', false)) {
+        # Install VMODs on Varnish 4 instances
+        package { [
+            'libvmod-header',
+            'libvmod-netmapper',
+            'libvmod-tbf',
+            'libvmod-vslp'
+            ]:
+            ensure  => 'installed',
+            require => Class['varnish::apt_preferences'],
+        }
+    }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8e4bed92349fdf0b906d71eefb3bd8b14a9c5667
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ema <[email protected]>

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

Reply via email to