Project

General

Profile

Actions

Bug #8134

closed

No enable-puppetlabs-repo in kickstart-katello.erb

Added by Jorick Astrego over 9 years ago. Updated almost 6 years ago.

Status:
Rejected
Priority:
Normal
Category:
Hosts
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

We use the parameter "enable-puppetlabs-repo" that is included in the default foreman kickstart file to install the repo.

Currently on a freshly provisioned Centos 7 host there is no puppet installed because the package cannot be found.

I modified the Katello Kickstart default to include:

<% if puppet_enabled && @host.params['enable-puppetlabs-repo'] && @host.params['enable-puppetlabs-repo'] == 'true' -%>
repo --name=puppetlabs-products --baseurl=http://yum.puppetlabs.com/el/<%= @host.operatingsystem.major %>/products/<%= @host.architecture %>
repo --name=puppetlabs-deps --baseurl=http://yum.puppetlabs.com/el/<%= @host.operatingsystem.major %>/dependencies/<%= @host.architecture %>
<% end -%>

Actions

Also available in: Atom PDF