Skip to content

Commit

Permalink
Add retry to jupyterhub get-keytab
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Oct 19, 2024
1 parent 7ad69b6 commit 0b47f44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions site/profile/manifests/jupyterhub.pp
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@
exec { 'jupyterhub_keytab':
command => 'kinit_wrapper ipa-getkeytab -p jupyterhub/jupyterhub -k /etc/jupyterhub/jupyterhub.keytab',
creates => '/etc/jupyterhub/jupyterhub.keytab',
tries => 5,
try_sleep => 5,
require => [
Exec['jupyterhub_venv'],
File["${jupyterhub::prefix}/bin/kinit_wrapper"],
Expand Down

0 comments on commit 0b47f44

Please sign in to comment.