From bc6b27bb2c4bc625a42c0c6b832a5e1ab0a34b5e Mon Sep 17 00:00:00 2001 From: keiran Date: Fri, 3 Apr 2026 20:11:54 +0100 Subject: [PATCH] wget install wsdd --- samba/wsdd.sls | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/samba/wsdd.sls b/samba/wsdd.sls index 88be3c3..a202c1e 100644 --- a/samba/wsdd.sls +++ b/samba/wsdd.sls @@ -6,18 +6,14 @@ wsdd: service.running: - enable: True - watch: - - file: wsdd - - file: wsdd.py + - cmd: install wsdd service.systemctl_reload: module.run: - onchanges: - file: /lib/systemd/system/wsdd.service -wsdd.py: - file.managed: - - name: /usr/bin/wsdd - - mode: 755 - - source: https://raw.githubusercontent.com/christgau/wsdd/d1c0d3e31768646326a15d9eaef28ec9a3180023/src/wsdd.py - - source_hash: 2b7bd278e38d85c1742aba5d95bd9d81 - +install wsdd: + cmd.run: + - name: wget -O /usr/bin/wsdd https://raw.githubusercontent.com/christgau/wsdd/refs/tags/v0.9/src/wsdd.py && chmod +x /usr/bin/wsdd + - creates: /usr/bin/wsdd