Ottomata has submitted this change and it was merged.

Change subject: Symlinking dclass shared object files into /usr/lib
......................................................................


Symlinking dclass shared object files into /usr/lib

Change-Id: I153d8c27b19572199502388306cc4c5b74186ca9
---
M manifests/role/analytics.pp
1 file changed, 12 insertions(+), 0 deletions(-)

Approvals:
  Ottomata: Verified; Looks good to me, approved
  Stefan.petrea: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/manifests/role/analytics.pp b/manifests/role/analytics.pp
index 2f370cf..4275a2a 100644
--- a/manifests/role/analytics.pp
+++ b/manifests/role/analytics.pp
@@ -96,6 +96,18 @@
             require => Class['role::analytics::java'],
         }
     }
+    # Symlink libdclass* .so into /usr/lib.
+    # (Oracle java does not support multiarch.)
+    file { '/usr/lib/libdclass.so':
+        ensure => 'link',
+        target => '/usr/lib/x86_64-linux-gnu/libdclass.so.0',
+        require => Package['libdclass-java'],
+    }
+    file { '/usr/lib/libdclassjni.so':
+        ensure => 'link',
+        target => '/usr/lib/x86_64-linux-gnu/jni/libdclassjni.so',
+        require => Package['libdclass-java'],
+    }
 }
 
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I153d8c27b19572199502388306cc4c5b74186ca9
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ottomata <[email protected]>
Gerrit-Reviewer: Ottomata <[email protected]>
Gerrit-Reviewer: Stefan.petrea <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to