forked from theforeman/foreman-installer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #29282 - Enable Puma migration on compatible upgrades
The commit bd02fbd reverted commit 0b244f5. theforeman/puppet-foreman#814 fixed the race condition of systemctl start foreman returning immediately before the service was up.
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
if answers['foreman'].is_a?(Hash) | ||
mod_answers = answers['foreman'] | ||
if mod_answers['passenger'] && !(mod_answers['ipa_authentication'] || mod_answers['keycloak']) | ||
answers['foreman']['passenger'] = false | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
if answers['foreman'].is_a?(Hash) | ||
mod_answers = answers['foreman'] | ||
if mod_answers['passenger'] && !(mod_answers['ipa_authentication'] || mod_answers['keycloak']) | ||
answers['foreman']['passenger'] = false | ||
end | ||
end |