Browse Source

Added fresh line at the end to ensure puppet is installed.

master
dave 3 years ago
parent
commit
2bf3f34836
  1. 6
      common/centos7/post.cfg

6
common/centos7/post.cfg

@ -12,7 +12,7 @@ echo "adding Puppet Labs"
rpm -Uvh https://yum.puppet.com/puppet5/puppet5-release-el-7.noarch.rpm rpm -Uvh https://yum.puppet.com/puppet5/puppet5-release-el-7.noarch.rpm
### UPGRADE ### UPGRADE
echo "Forcing and upgrade of the system" echo "Forcing an upgrade of the system"
echo "common/centos7/post.cfg: upgrading the system" echo "common/centos7/post.cfg: upgrading the system"
yum -y upgrade yum -y upgrade
@ -20,4 +20,6 @@ yum -y upgrade
# PUPPET and resolved dependancies # PUPPET and resolved dependancies
echo "Installing Puppet" echo "Installing Puppet"
echo "common/centos7/post.cfg: Installing Puppet" echo "common/centos7/post.cfg: Installing Puppet"
yum -y install puppet-agent yum -y install puppet-agent
echo "Finished common/centos7/post.cfg"

Loading…
Cancel
Save