Skip to content

Commit

Permalink
Add ipa_create_user.py to hub
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Oct 3, 2024
1 parent 4fa7aa6 commit fd4f04e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions site/profile/manifests/jupyterhub.pp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@
tags => ['jupyterhub'],
token => lookup('profile::consul::acl_api_token'),
}

file { '/sbin/ipa_create_user.py':
source => 'puppet:///modules/profile/users/ipa_create_user.py',
mode => '0755',
}

# AUTOMATE THIS
# ipa role-add 'JupyterHub' --desc='JupyterHub User management'
# ipa role-add-privilege 'JupyterHub' --privilege='Group Administrators'
# ipa role-add-privilege 'JupyterHub' --privilege='User Administrators'
# ipa user-add jupyterhub --first Jupyter --last Hub
# ipa role-add-member 'JupyterHub' --users=jupyterhub
# ipa-getkeytab -p jupyterhub -k /etc/jupyterhub/jupyterhub.keytab

}

class profile::jupyterhub::node {
Expand Down

0 comments on commit fd4f04e

Please sign in to comment.