Also purge the hiera package that comes preinstalled in dsvm

puppet-prepare-node already took care of uninstalling the
puppet and facter packages that came preinstalled with the dsvm.
Hiera was not uninstalled and was shown to cause some issues when
attempting to use it.

Let's also uninstall hiera, it will be re-installed inside the jobs
when installing the puppet package, it does not need to be
specified explicitely as it comes bundled with puppet now.

Change-Id: I5e03d3de3c28afffb8dd30e429197eef02385520
This commit is contained in:
David Moreau Simard 2016-02-23 17:11:51 -05:00
parent b3eb1408cd
commit 4ff660c4ee
1 changed files with 2 additions and 2 deletions

View File

@ -301,11 +301,11 @@
builders:
- shell: |
if [ -f /usr/bin/yum ]; then
sudo yum -y remove facter puppet rdo-release
sudo yum -y remove facter puppet hiera 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
sudo apt-get remove -y --purge facter puppet puppet-common
sudo apt-get remove -y --purge facter puppet puppet-common hiera
sudo apt-get update
sudo apt-get install -y libxml2-dev libxslt-dev zlib1g-dev
fi