Bug #7957
closed[Staypuft] The kickstart default provision template doesn't install puppet on provisioned CentOS 7 host
Description
The kickstart default provision template doesn't install puppet on a provisioned CentOS 7 host.
When the first server is created (discovered and then provisioned) login to the server and executing a puppet agent --test will fail on puppet not being fund.
I corrected it using the following code on the %post section
@#Kickstart default: Post Installation setup
yum -y localinstall http://mirror.centos.org/centos/7/extras/x86_64/Packages/epel-release-7-2.noarch.rpm
- yum -y localinstall http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm #Don't needed as Epel for CentOS 7 has puppet version 3.6
yum -y install update
yum -y install puppet
@
Updated by Marek Hulán over 9 years ago
I just tested that this is not present in pure Foreman. Please reopen this issue in BZ. In foreman we install puppet from epel. Looking at https://github.com/theforeman/foreman-installer-staypuft/blob/master/hooks/lib/provisioning_seeder.rb#L479 staypuft should do the same. When reporting to BZ, please attach provisioning template that foreman generates for you (you can find it in host detail, tab templates, find provision Template row and select review action)
Updated by Marek Hulán over 9 years ago
- Status changed from New to Rejected
Closing since this is staypuft specific.