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 <heckj@mac.com>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
Clark Boylan 2012-09-24 14:56:51 -07:00 committed by Jenkins
parent 607b2db8c7
commit 0b31e0fb10

View File

@ -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 = [