Make sure libffi-dev is installed

A recent change in the version of PyOpenSSL that RefStack uses requires
that the system has libffi-dev installed before PyOpenSSL's dependencies
can be installed. This patch ensures that the package is present.

Change-Id: I273fb762cc82c474f1cec8e6810dd3f15add092e
This commit is contained in:
Paul Van Eck 2016-08-19 10:58:36 -07:00
parent 393913577d
commit 4b9935a3ee
1 changed files with 7 additions and 0 deletions

View File

@ -40,6 +40,13 @@ class refstack::app () {
}
}
# Needed for PyOpenSSL
if !defined(Package['libffi-dev']) {
package { 'libffi-dev':
ensure => present
}
}
# Ensure NPM is present
if !defined(Package['npm']) {
package { 'npm':