From 045596552500f6267aedd691de2f375f77183252 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sun, 27 Oct 2024 13:15:28 +1100 Subject: [PATCH] feat: add jumphost role - add role for ssh proxy/jumphost --- site/roles/manifests/infra/proxy/jumphost.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 site/roles/manifests/infra/proxy/jumphost.pp diff --git a/site/roles/manifests/infra/proxy/jumphost.pp b/site/roles/manifests/infra/proxy/jumphost.pp new file mode 100644 index 0000000..9669ec9 --- /dev/null +++ b/site/roles/manifests/infra/proxy/jumphost.pp @@ -0,0 +1,10 @@ +# a role to deploy an ssh proxy/jumphost +class roles::infra::proxy::jumphost { + if $facts['firstrun'] { + include profiles::defaults + include profiles::firstrun::init + }else{ + include profiles::defaults + include profiles::base + } +} -- 2.47.3