Ottomata has submitted this change and it was merged.

Change subject: Installing libdclass-java on analytics nodes
......................................................................


Installing libdclass-java on analytics nodes

Change-Id: Ib21f5d71c04326742f0972c03b896577e05c854b
---
M manifests/role/analytics.pp
1 file changed, 10 insertions(+), 3 deletions(-)

Approvals:
  Ottomata: Verified; Looks good to me, approved



diff --git a/manifests/role/analytics.pp b/manifests/role/analytics.pp
index e772f0d..2f370cf 100644
--- a/manifests/role/analytics.pp
+++ b/manifests/role/analytics.pp
@@ -26,9 +26,7 @@
     # (for now we only include these on reinstalled and
     #  fully puppetized nodes.)
     if ($hostname =~ /analytics10(1[8-9]|20)/) {
-        include role::analytics::pig
-        include role::analytics::hive
-        include role::analytics::sqoop
+        include role::analytics::common
     }
 }
 
@@ -89,6 +87,15 @@
             ensure => 'installed',
         }
     }
+
+    # install dclass JNI package
+    # for device classification.
+    if !defined(Package['libdclass-java']) {
+        package { 'libdclass-java':
+            ensure  => 'installed',
+            require => Class['role::analytics::java'],
+        }
+    }
 }
 
 

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

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

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

Reply via email to