summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-12-31 17:46:56 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-12-31 17:46:56 +0100
commita3b1537fb31121ac3a619c7191374bad8a38f713 (patch)
treedfcb273611d357389152dbe6ccb5f2a607113356 /manifests
parentAdd nspawn_master. (diff)
downloadprofiles-a3b1537fb31121ac3a619c7191374bad8a38f713.tar.gz
profiles-a3b1537fb31121ac3a619c7191374bad8a38f713.tar.xz
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.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/syncthing.pp3
1 files changed, 2 insertions, 1 deletions
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',
}