summaryrefslogtreecommitdiff
path: root/modules/profiles/manifests/syncthing.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profiles/manifests/syncthing.pp')
-rw-r--r--modules/profiles/manifests/syncthing.pp28
1 files changed, 0 insertions, 28 deletions
diff --git a/modules/profiles/manifests/syncthing.pp b/modules/profiles/manifests/syncthing.pp
deleted file mode 100644
index 7d8183e..0000000
--- a/modules/profiles/manifests/syncthing.pp
+++ /dev/null
@@ -1,28 +0,0 @@
-class profiles::syncthing (
- Array[String] $enable_for = []
-) {
-
- # TODO add repo for those systems that need it
-
- package { 'syncthing':
- ensure => installed
- }
-
- systemd::dropin_file { 'nospam.conf':
- unit => 'syncthing@.service',
- content => @(EOF)
- [Service]
- ExecStart=
- ExecStart=/bin/bash -c 'set -o pipefail; /usr/bin/syncthing -no-browser -no-restart -logflags=0 | grep -v "INFO: "'
- | EOF
- }
-
- $enable_for.map |$user| {
- service { "syncthing@${user}":
- enable => true,
- }
- }
-
- # TODO manage synced data
-
-}