Project

General

Profile

Actions

Bug #25117

closed

kickstart-default template does not recognise "Red Hat Identity Management" as a realm_type

Added by chris procter about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
Difficulty:
easy
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

I installed a 6.4 snap25 satellite and have hit a bug getting it to join kickstarting machines to my IDM realm.

The relevant part of the "kickstart default" template says:

<% if host_enc['parameters']['realm'] && @host.realm && @host.realm.realm_type == 'FreeIPA' ->
<
= snippet 'freeipa_register' >
<
end -%>

but there is no option in the Realms creation page to create a "FreeIPA" realm_type, instead you get "Red Hat Identity Management" so the snippet is not called.

Updating the kickstart to:
<% if host_enc['parameters']['realm'] && @host.realm && (@host.realm.realm_type 'FreeIPA' || @host.realm.realm_type 'Red Hat Identity Management') -%>

should be enough to fix the issue


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #25172: kickstart default user_data and finish templates do not recognise "Red Hat Identity Management" as a realm_typeClosedActions
Actions

Also available in: Atom PDF