Preinstall redhat-rpm-config for Fedora

As described in the comments, there is a depdency bug which means some
python module builds fail without the config provided by this package.
Pre-install it before we start installing things.

Change-Id: I3c8615f17e47956f258fee10caa9a57c99c719b8
This commit is contained in:
Ian Wienand 2015-12-02 17:40:09 +11:00
parent f2c45887a8
commit 4e098983a1
1 changed files with 10 additions and 1 deletions

View File

@ -68,7 +68,16 @@ function setup_puppet_fedora {
# NOTE: we preinstall lsb_release to ensure facter sets
# lsbdistcodename
yum install -y redhat-lsb-core git puppet
#
# Fedora declares some global hardening flags, which distutils
# pick up when building python modules. redhat-rpm-config
# provides the required config options. Really this should be a
# dependency of python-devel (fix in the works, see
# https://bugzilla.redhat.com/show_bug.cgi?id=1217376) and can be
# removed when that is sorted out.
yum install -y redhat-lsb-core git puppet \
redhat-rpm-config
mkdir -p /etc/puppet/modules/