Skip to content
This repository has been archived by the owner on Jul 9, 2020. It is now read-only.

Fixes #25172 - support both FreeIPA and Red Hat IDM in user_data and finish templates #527

Merged
merged 2 commits into from
Oct 10, 2018

Conversation

chr15p
Copy link
Contributor

@chr15p chr15p commented Oct 10, 2018

Similar to #520 The kickstart_default_finish and kickstart_default_user_data templates both assume the value of @host.realm.realm_type will either be FreeIPA or Active Directory, but Satellite only allows the creates of AD or "Red Hat Identity Management" type realms.

This brings these two templates into line with the kickstart_default kickstart file

@@ -50,7 +50,7 @@ yum -y install ntpdate

<%= snippet 'redhat_register' %>

<% if host_enc['parameters']['realm'] && @host.realm && @host.realm.realm_type == 'FreeIPA' -%>
<% if host_enc['parameters']['realm'] && @host.realm && ( @host.realm.realm_type == 'FreeIPA' || @host.realm.realm_type == 'Red Hat Identity Management') -%>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one space too much after the bracket.

@mmoll mmoll merged commit 23b0543 into theforeman:develop Oct 10, 2018
@mmoll
Copy link
Contributor

mmoll commented Oct 10, 2018

merged, thanks @chr15p!

@ekohl
Copy link
Member

ekohl commented Oct 10, 2018

@mmoll I cherry picked the previous patch. Are you doing so as well?

@mmoll
Copy link
Contributor

mmoll commented Oct 10, 2018

@ekohl yes, I did 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants