From 12387827a3b5a3b162c69801aa3c394ca417c33a Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 21 Feb 2024 02:38:42 -0500 Subject: install the tailscale client everywhere --- modules/mail/manifests/operatingsystem.pp | 1 + modules/partofme/manifests/operatingsystem.pp | 1 + modules/tailscale/manifests/init.pp | 11 +++++++++++ modules/tozt/manifests/operatingsystem.pp | 1 + 4 files changed, 14 insertions(+) create mode 100644 modules/tailscale/manifests/init.pp (limited to 'modules') diff --git a/modules/mail/manifests/operatingsystem.pp b/modules/mail/manifests/operatingsystem.pp index 8819bdf..9863a3f 100644 --- a/modules/mail/manifests/operatingsystem.pp +++ b/modules/mail/manifests/operatingsystem.pp @@ -1,4 +1,5 @@ class mail::operatingsystem { include reflector + include tailscale include wireguard } diff --git a/modules/partofme/manifests/operatingsystem.pp b/modules/partofme/manifests/operatingsystem.pp index a98e950..04fc393 100644 --- a/modules/partofme/manifests/operatingsystem.pp +++ b/modules/partofme/manifests/operatingsystem.pp @@ -1,5 +1,6 @@ class partofme::operatingsystem { include reflector + include tailscale include wireguard file { diff --git a/modules/tailscale/manifests/init.pp b/modules/tailscale/manifests/init.pp new file mode 100644 index 0000000..0b33209 --- /dev/null +++ b/modules/tailscale/manifests/init.pp @@ -0,0 +1,11 @@ +class tailscale { + package { "tailscale": + ensure => installed; + } + + service { "tailscaled": + ensure => running, + enable => true, + require => Package['tailscale']; + } +} diff --git a/modules/tozt/manifests/operatingsystem.pp b/modules/tozt/manifests/operatingsystem.pp index c978e75..18e801e 100644 --- a/modules/tozt/manifests/operatingsystem.pp +++ b/modules/tozt/manifests/operatingsystem.pp @@ -1,4 +1,5 @@ class tozt::operatingsystem { include reflector + include tailscale include wireguard } -- cgit v1.2.3-54-g00ecf