Skip to content

Commit

Permalink
Try to optimize ipa_install install execution timing
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Nov 17, 2024
1 parent 8dd0e32 commit 4ba468d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions site/profile/manifests/freeipa.pp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@
Exec['ipa-client-uninstall_bad-server'],
],
}
# Make sure heavy lifting operations are done before waiting on mgmt1
Package <| |> -> Wait_for['ipa_records']
Selinux::Module <| |> -> Wait_for['ipa_records']
Selinux::Boolean <| |> -> Wait_for['ipa_records']
Selinux::Exec_restorecon <| |> -> Wait_for['ipa_records']

# Check if the FreeIPA HTTPD service is consistently available
# over a period of 2sec * 15 times = 30 seconds. If a single
Expand Down

0 comments on commit 4ba468d

Please sign in to comment.