ComputeCanada / puppet-magic_castle

Puppet Environment repo for Magic Castle - https://github.com/ComputeCanada/magic_castle
MIT License
13 stars 21 forks source link

`jupyterhub::kernel::venv::prefix` not cleared by `prepare4image.sh` #382

Open mboisson opened 1 month ago

mboisson commented 1 month ago

The folder jupyterhub::kernel::venv::prefix should be deleted when running prepare4image.sh, otherwise it is stuck on whatever version of python was used to generate the image.

mboisson commented 1 month ago

Also, ${::jupyterhub::node::prefix}/share/jupyter/kernels/ should be deleted too.

mboisson commented 1 month ago

I am not sure how to make prepare4image.sh delete these folders based on the YAML values however. Does it need to become a template ?