Project

General

Profile

Bug #7957

[Staypuft] The kickstart default provision template doesn't install puppet on provisioned CentOS 7 host

Added by Ignacio Bravo over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

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
  1. 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
    @

History

#1 Updated by Marek Hulán over 7 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)

#2 Updated by Marek Hulán over 7 years ago

  • Status changed from New to Rejected

Closing since this is staypuft specific.

Also available in: Atom PDF