Ensure that pip is installed before using it.

We need to ensure that pip is available before
trying to install xenapi with it.

Change-Id: I97ccbabe6e77205e516cc3b7e17bac8824a19520
Closes-Bug: #1183060
This commit is contained in:
guillaume-thouvenin
2014-02-19 09:42:43 +01:00
committed by Guillaume Thouvenin
parent c45f573882
commit 094fdc3a20

View File

@@ -33,8 +33,12 @@ class nova::compute::xenserver(
'DEFAULT/xenapi_inject_image': value => $xenapi_inject_image;
}
ensure_packages(['python-pip'])
package { 'xenapi':
ensure => present,
provider => pip
}
Package['python-pip'] -> Package['xenapi']
}