summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2024-02-21 21:13:43 -0500
committerJesse Luehrs <doy@tozt.net>2024-02-21 21:13:43 -0500
commitfe6dc47624217a439cc214a00d5d0e7d583a9b66 (patch)
treeda91195b1c65dacb770848502aa934520763ffb5
parentb8d98946e806445049a6786f9dba4d0a2679cbcc (diff)
downloadpuppet-tozt-fe6dc47624217a439cc214a00d5d0e7d583a9b66.tar.gz
puppet-tozt-fe6dc47624217a439cc214a00d5d0e7d583a9b66.zip
headscale config updates should restart the service
-rw-r--r--modules/headscale/manifests/init.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/headscale/manifests/init.pp b/modules/headscale/manifests/init.pp
index cf75415..7fd0b39 100644
--- a/modules/headscale/manifests/init.pp
+++ b/modules/headscale/manifests/init.pp
@@ -11,7 +11,8 @@ class headscale($data_dir) {
require => Package['headscale'];
"/etc/headscale/config.yaml":
content => template("headscale/config.yaml"),
- require => Package['headscale'];
+ require => Package['headscale'],
+ notify => Service["headscale"];
}
systemd::override { "headscale":