From 0b31e0fb107ad1e3f5c08bc8c0de1e76988dde42 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Mon, 24 Sep 2012 14:56:51 -0700 Subject: [PATCH] Add python-netaddr to jenkins::slave package list Devstack functions:address_in_net() runs embedded python that imports netaddr. This function fails when python-netaddr is not installed. Install it as part of the bare package list in order to have devstack run properly. Change-Id: I1970a2040445548756101d839263bd4a007e0dd2 Reviewed-on: https://review.openstack.org/13600 Reviewed-by: Joe Heck Reviewed-by: Paul Belanger Approved: James E. Blair Reviewed-by: James E. Blair Tested-by: Jenkins --- modules/jenkins/manifests/slave.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/jenkins/manifests/slave.pp b/modules/jenkins/manifests/slave.pp index 0bdd3b99d1..95e061acfe 100644 --- a/modules/jenkins/manifests/slave.pp +++ b/modules/jenkins/manifests/slave.pp @@ -12,10 +12,11 @@ class jenkins::slave($ssh_key, $sudo = false, $bare = false, $user = true) { # Packages that all jenkins slaves need $common_packages = [ - "default-jdk", # jdk for building java jobs + "default-jdk", # jdk for building java jobs "build-essential", "ccache", - ] + "python-netaddr", # Needed for devstack address_in_net() + ] # Packages that most jenkins slaves (eg, unit test runners) need $standard_packages = [