From 8a0dda416e15fb7e0cbc0d76a53ec3a6212fd158 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Wed, 29 Dec 2021 15:44:18 +0100 Subject: [PATCH] updated syncthing state --- states/syncthing/defaults.yaml | 4 ++++ states/syncthing/install.sls | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/states/syncthing/defaults.yaml b/states/syncthing/defaults.yaml index d13b572..abff183 100644 --- a/states/syncthing/defaults.yaml +++ b/states/syncthing/defaults.yaml @@ -15,3 +15,7 @@ syncthing: address: "0.0.0.0:8384" user: "username" password: "$2a$10$NeZ3cfyOgZcdMGy9ixB7LOAP6z8tCOVjico6ZGLoK2QIQy734qPw." + options: + minHomeDiskFree: + value: "1" + unit: "GB" diff --git a/states/syncthing/install.sls b/states/syncthing/install.sls index 04c3399..f208f82 100644 --- a/states/syncthing/install.sls +++ b/states/syncthing/install.sls @@ -23,4 +23,4 @@ syncthing-cleanup: software.cleanup: - name: syncthing - path: {{ syncthing.release_dir }} - - version: {{ syncthing.version }} \ No newline at end of file + - version: "{{ syncthing.version }}" \ No newline at end of file