From a3b1537fb31121ac3a619c7191374bad8a38f713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sat, 31 Dec 2022 17:46:56 +0100 Subject: Syncthing: force service type. The syncthing module should autodetect the service type, and looking at its code it appears to use the fact $::service_provider, which is correctly set. Ithryn, running Arch Linux uses the wrong service type despite all that. --- manifests/syncthing.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manifests/syncthing.pp') diff --git a/manifests/syncthing.pp b/manifests/syncthing.pp index 389590c..29b4274 100644 --- a/manifests/syncthing.pp +++ b/manifests/syncthing.pp @@ -7,7 +7,8 @@ class profiles::syncthing ( ) { class { 'syncthing': - manage_repo => $::osfamily == 'Debian', + manage_repo => $::osfamily == 'Debian', + service_type => 'systemd', } -- cgit v1.2.3