Ejegg has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/349343 )

Change subject: Ensure symlink to enable mcrypt for CLI
......................................................................

Ensure symlink to enable mcrypt for CLI

All of the other extensions seem to get this link just by installing
the deb, but for some reason mcrypt isn't linked.

Change-Id: I033367172ae3ee28f266f5ca102bad4080b2dfa6
---
M modules/contint/manifests/packages/php.pp
1 file changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/43/349343/1

diff --git a/modules/contint/manifests/packages/php.pp 
b/modules/contint/manifests/packages/php.pp
index 6ab6f2c..f9c31e7 100644
--- a/modules/contint/manifests/packages/php.pp
+++ b/modules/contint/manifests/packages/php.pp
@@ -73,4 +73,11 @@
         ensure => present,
     }
 
+    # enable mcrypt for PHP CLI
+    # FIXME: why is this needed for mcrypt and not other extensions?
+    file { '/etc/php5/cli/conf.d/20-mcrypt.ini':
+        ensure => 'link',
+        target => '/etc/php5/mods-available/mcrypt.ini',
+    }
+
 }

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

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

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

Reply via email to