Skip to content

Commit

Permalink
Fix ipa_register_service.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Oct 18, 2024
1 parent fa2b038 commit 359292d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/profile/manifests/jupyterhub.pp
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
$service_name = "jupyterhub/${fqdn}"
$service_register_script = @("EOF")
api.Command.batch(
{ 'method': 'service_add', 'params': [[${service_name}], {}]},
{ 'method': 'service_add', 'params': [['${service_name}'], {}]},
{ 'method': 'role_add', 'params': [['JupyterHub'], {'description' : 'JupyterHub User management'}]},
{ 'method': 'role_add_privilege', 'params': [['JupyterHub'], {'privilege' : 'Group Administrator'}]},
{ 'method': 'role_add_privilege', 'params': [['JupyterHub'], {'privilege' : 'User Administrators'}]},
{ 'method': 'role_add_member', 'params': [['JupyterHub'], {'service' : ${service_name}}]},
{ 'method': 'role_add_member', 'params': [['JupyterHub'], {'service' : '${service_name}'}]},
)
|EOF

Expand Down

0 comments on commit 359292d

Please sign in to comment.