diff options
Diffstat (limited to 'modules/tozt/manifests/headscale.pp')
-rw-r--r-- | modules/tozt/manifests/headscale.pp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/tozt/manifests/headscale.pp b/modules/tozt/manifests/headscale.pp new file mode 100644 index 0000000..b337e3b --- /dev/null +++ b/modules/tozt/manifests/headscale.pp @@ -0,0 +1,16 @@ +class tozt::headscale { + include tozt::certbot + include tozt::persistent + + class { "headscale": + data_dir => "/media/persistent/headscale"; + } + + nginx::site { + "headscale-tls": + source => 'puppet:///modules/tozt/nginx/headscale-tls.conf', + require => Class['certbot']; + "headscale": + source => 'puppet:///modules/tozt/nginx/headscale.conf'; + } +} |