macros/puppet-prepare-node: drop rdo-release

When running Puppet jobs, RDO repository is managed by Puppet.
If rdo-release package is installed, we will always install Liberty
(latest rdo-release package) and we don't want that.
Puppet CI is currently deploying Liberty in stable/kilo jobs, because of
this package.

We need to drop this package before any Puppet related job, so we make
sure Puppet manifests will manage the repositories that we actually want.

Change-Id: I3173e850dfdf43b868e4a180083c19c3cbe30ff3
This commit is contained in:
Emilien Macchi 2015-11-02 15:16:01 -05:00
parent 84c88686ed
commit 379f14bfc2

View File

@ -241,7 +241,7 @@
builders:
- shell: |
if [ -f /usr/bin/yum ]; then
sudo yum -y remove facter puppet
sudo yum -y remove facter puppet rdo-release
sudo yum -y install libxml2-devel libxslt-devel ruby-devel
sudo yum -y groupinstall "Development Tools"
elif [ -f /usr/bin/apt-get ]; then