Ottomata has uploaded a new change for review.
https://gerrit.wikimedia.org/r/75148
Change subject: Installing libdclass-java on analytics nodes
......................................................................
Installing libdclass-java on analytics nodes
Change-Id: Ib21f5d71c04326742f0972c03b896577e05c854b
---
M manifests/role/analytics.pp
M manifests/role/analytics/common.pp
2 files changed, 11 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/48/75148/1
diff --git a/manifests/role/analytics.pp b/manifests/role/analytics.pp
index e772f0d..fcb6574 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'],
+ }
+ }
}
diff --git a/manifests/role/analytics/common.pp
b/manifests/role/analytics/common.pp
index a23c9ab..e412818 100644
--- a/manifests/role/analytics/common.pp
+++ b/manifests/role/analytics/common.pp
@@ -1,5 +1,5 @@
# == Class role::analytics::common
-# Includes common analytics client classes:
+# Includes common analytics classes:
# - hadoop
# - hive
# - oozie
--
To view, visit https://gerrit.wikimedia.org/r/75148
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib21f5d71c04326742f0972c03b896577e05c854b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ottomata <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits