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

Change subject: Separating out require_package calls in attempt to figure out 
weird error message
......................................................................

Separating out require_package calls in attempt to figure out weird error 
message

undefined method `function_create_resources' for nil:NilClass at 
/etc/puppet/modules/role/manifests/analytics_cluster/hadoop/worker.pp:120

Change-Id: I95d2d77909551c911e4566bb8a0126a4538e552b
---
M modules/role/manifests/analytics_cluster/hadoop/worker.pp
1 file changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/24/347424/1

diff --git a/modules/role/manifests/analytics_cluster/hadoop/worker.pp 
b/modules/role/manifests/analytics_cluster/hadoop/worker.pp
index 4a61c5e..c401b93 100644
--- a/modules/role/manifests/analytics_cluster/hadoop/worker.pp
+++ b/modules/role/manifests/analytics_cluster/hadoop/worker.pp
@@ -118,8 +118,6 @@
     # computation in Hadoop, and thus should be available on
     # any Hadoop nodes.
     require_package(
-        # Need some python packages on Hadoop nodes
-        # in order to run python Hadoop jobs.
         'python3',
         'python3-tabulate',
         'python3-scipy',
@@ -133,6 +131,8 @@
         'python3-mmh3',
         'python3-sklearn',
         'python3-docopt',
+    )
+    require_package(
         'python-numpy',
         'python-pandas',
         'python-scipy',
@@ -141,6 +141,8 @@
         'python-dateutil',
         'python-sympy',
         'python-docopt',
+    )
+    require_package(
         'libgomp1',
     )
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I95d2d77909551c911e4566bb8a0126a4538e552b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ottomata <ao...@wikimedia.org>

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

Reply via email to