From 520eeca97fef1c86c6eee29c017fb6f410aec58d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix-Antoine=20Fortin?= Date: Tue, 17 Dec 2024 13:16:59 -0500 Subject: [PATCH] Add jupyterhub firewall rule --- site/profile/manifests/jupyterhub.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/site/profile/manifests/jupyterhub.pp b/site/profile/manifests/jupyterhub.pp index 9208af074..54be4dac1 100644 --- a/site/profile/manifests/jupyterhub.pp +++ b/site/profile/manifests/jupyterhub.pp @@ -16,6 +16,9 @@ } include profile::slurm::submitter + nftables::rule { 'default_in-jupyterhub_tcp': + content => 'tcp dport 8081 accept comment "Accept jupyterhub"', + } consul::service { 'jupyterhub': port => 8081, tags => ['jupyterhub'],