--- ipfs-service-file: file.managed: - name: /etc/systemd/system/ipfs.service - source: salt://ipfs/ipfs.service - watch-in: - service: ipfs-service ipfs-service: service.running: - name: ipfs - enable: true - require: - file: ipfs-dir