Muehlenhoff has uploaded a new change for review.

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

Change subject: Also provide imagemagick wrapper in openstack::nova::manager
......................................................................

Also provide imagemagick wrapper in openstack::nova::manager

On app servers and image scalers, convert(1) from imagemagick is
contained in a firejail profile. Silver receives the same setting
in wmf-config/CommonSettings.php via $wgImageMagickConvertCommand
and since we also need to scale graphics on wikitech, provide them
in openstack::nova::manager as well.

Bug: T145811

Change-Id: I58bf3b925d84c2c92668ec31378c40c840678da0
---
M modules/role/manifests/labs/openstack/nova.pp
1 file changed, 18 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/45/316545/1

diff --git a/modules/role/manifests/labs/openstack/nova.pp 
b/modules/role/manifests/labs/openstack/nova.pp
index 808bd73..f67fc2f 100644
--- a/modules/role/manifests/labs/openstack/nova.pp
+++ b/modules/role/manifests/labs/openstack/nova.pp
@@ -120,6 +120,24 @@
         mode   => '0755',
     }
 
+    # On app servers and image scalers, convert(1) from imagemagick is
+    # contained in a firejail profile. Silver receives the same setting
+    # in wmf-config/CommonSettings.php via $wgImageMagickConvertCommand
+    # and since we also need to scale graphics on wikitech, provide them here
+    file { '/usr/local/bin/mediawiki-firejail-convert':
+        source => 'puppet:///modules/mediawiki/mediawiki-firejail-convert',
+        owner  => 'root',
+        group  => 'root',
+        mode   => '0555',
+    }
+
+    file { '/etc/firejail/mediawiki-converters.profile':
+        source => 'puppet:///modules/mediawiki/mediawiki-converters.profile',
+        owner  => 'root',
+        group  => 'root',
+        mode   => '0644',
+    }
+
     class { '::nutcracker':
         mbuf_size => '64k',
         verbosity => 2,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I58bf3b925d84c2c92668ec31378c40c840678da0
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Muehlenhoff <mmuhlenh...@wikimedia.org>

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

Reply via email to