Ganeti master requires python-mock, so install it automatically when creating a build slave.
Signed-off-by: Thomas Thrainer <[email protected]> --- roles/buildslave/scripts/postinstall | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/buildslave/scripts/postinstall b/roles/buildslave/scripts/postinstall index 5c5eabd..f43c6a6 100755 --- a/roles/buildslave/scripts/postinstall +++ b/roles/buildslave/scripts/postinstall @@ -50,7 +50,8 @@ case "$1" in python-pycurl \ python-ipaddr \ python-yaml \ - python-paramiko + python-paramiko \ + python-mock apt-get install -qq -y python-dev build-essential @@ -121,6 +122,7 @@ case "$1" in python-pyinotify python-pycurl \ python-paramiko python-yaml \ python-bitarray python-ipaddr \ + python-mock \ qemu-utils \ python-coverage pep8 \ socat fping fakeroot \ -- 1.8.2.1
