Sync dependencies list for puppet-prepare-node macros.
There is ruby-devel package installed here for CentOS but there is no
ruby-dev for Ubuntu. That commit fix that problem.
CentOS
Closes-Bug:
elif [ -f /usr/bin/apt-get ]; then
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
+ sudo apt-get install -y libxml2-dev libxslt-dev ruby-dev zlib1g-dev
# /etc/default/puppet is not purged when removing Puppet
# but need to be dropped if we want to re-install puppet-agent on Xenial
sudo rm -rf /etc/default/puppet
