Maru Newby 017c7578d7 Fix package dependency installation.
* The previous list of os packages was insufficient to support
   installation of all of tempest's python dependencies.  This
   change adds the necessary dependencies for redhat.  I leave it
   as an exercise for a non-redhat employee to update the
   corresponding list for debian.
 * stdlib's ensure_packages method is used instead of per-package
   checks for definition.
 * easy_install is used to install pip, rather than installing pip
   from a package and having both packaged and unpackaged veresions
   of pip installed on the host.

Change-Id: Ie4f02d04f6a769c0fffb13d9c16dc3a3d4d533c1
2013-06-30 15:17:06 +00:00

26 lines
712 B
Puppet

class tempest::params {
if $osfamily == 'redhat' {
$dev_packages = [
'python-devel',
'libxslt-devel',
'libxml2-devel',
'openssl-devel',
'mysql-devel',
'postgresql-devel',
'patch',
'gcc',
]
} elsif $osfamily == 'debian' {
# FIXME - This list of packages should be updated to match what is
# specified for redhat.
$dev_packages = [
'python-dev',
'libxslt-dev',
'libxml2-dev',
'libssl-dev',
]
}
}