Ensure build-essential and python-dev are installed

pip install os-loganalyze needs build-essential and python-dev
preinstalled in order to build its dependencies.

Change-Id: I5b15935415fb030b60bedd8199ff99696271d886
This commit is contained in:
Ramy Asselin 2015-11-16 12:39:12 -08:00
parent 3a42ad03d2
commit 5ec30cd06a

View File

@ -94,6 +94,14 @@ class openstackci::logserver (
require => File['/srv/static/logs'],
}
package { 'build-essential':
ensure => 'present',
}
package { 'python-dev':
ensure => 'present',
}
package { 'keyring':
ensure => 'latest',
provider => 'pip',
@ -113,6 +121,7 @@ class openstackci::logserver (
path => '/usr/local/bin:/usr/bin:/bin/',
refreshonly => true,
subscribe => Vcsrepo['/opt/os-loganalyze'],
require => [Package['build-essential'], Package['python-dev']],
notify => Service['httpd'],
}