Skip to content

Commit

Permalink
Merge pull request #400 from ComputeCanada/ipa_install_opt
Browse files Browse the repository at this point in the history
Optimize ipa_install install execution timing
  • Loading branch information
cmd-ntrf authored Nov 17, 2024
2 parents 8dd0e32 + 95ea57a commit 070bf57
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 070bf57

Please sign in to comment.