Mercurial > code > home > repos > infra
diff sync.py @ 146:2065998876e4
add host 'ditto'
author | drewp@bigasterisk.com |
---|---|
date | Sat, 11 Mar 2023 12:17:56 -0800 |
parents | ee0384eebee5 |
children | 4f1f39f81bc1 |
line wrap: on
line diff
--- a/sync.py Sat Mar 11 11:22:48 2023 -0800 +++ b/sync.py Sat Mar 11 12:17:56 2023 -0800 @@ -3,8 +3,8 @@ # primary instance is in k8s (/my/serv/filesync/syncthing); the rest are run with systemd. # Configs are in ~/.config/syncthing/ on each box -if host.name in ['dash', 'dot', 'slash', 'plus', 'bang']: apt.packages(packages=['syncthing']) +if host.name in ['dash', 'dot', 'slash', 'plus', 'bang' ,'ditto']: # now we have /lib/systemd/system/syncthing@.service user = 'ari' if host.name == 'dot' else 'drewp'