summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2024-02-21 02:38:42 -0500
committerJesse Luehrs <doy@tozt.net>2024-02-21 02:38:42 -0500
commit12387827a3b5a3b162c69801aa3c394ca417c33a (patch)
tree4d51cc7da61fac7d7720b3ad4a4c5a3d02eed985
parent2e71f8ea95a76c9403bb3636586cdbb5f9a49352 (diff)
downloadpuppet-tozt-12387827a3b5a3b162c69801aa3c394ca417c33a.tar.gz
puppet-tozt-12387827a3b5a3b162c69801aa3c394ca417c33a.zip
install the tailscale client everywhere
-rw-r--r--modules/mail/manifests/operatingsystem.pp1
-rw-r--r--modules/partofme/manifests/operatingsystem.pp1
-rw-r--r--modules/tailscale/manifests/init.pp11
-rw-r--r--modules/tozt/manifests/operatingsystem.pp1
4 files changed, 14 insertions, 0 deletions
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
}