This commit is contained in:
root
2020-05-09 00:19:38 -04:00
parent e4b87cb50b
commit fc2ea8f76b
19 changed files with 182 additions and 18 deletions

23
samba/wsdd.sls Normal file
View File

@@ -0,0 +1,23 @@
wsdd:
file.managed:
- name: /lib/systemd/system/wsdd.service
- source: salt://samba/files/wsdd.service
service.running:
- enable: True
- watch:
- file: wsdd
- file: wsdd.py
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