rsync::site dependency cleanup, part 1
authorPeter Palfrader <peter@palfrader.org>
Tue, 10 Sep 2019 07:25:51 +0000 (09:25 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 10 Sep 2019 07:25:51 +0000 (09:25 +0200)
commite18adfd6c665a99d3e5cde12b9cac516c39bda6b
tree927e778344c276924d04d006760fe8fad60a808b
parentfb6cad60398e2af50e42e2e7b97561c9fa5adcf4
rsync::site dependency cleanup, part 1

We define three things: a .service file, a .socket file, and a service.

Previously, the service would require the two files, and the .socket
file would also notify the service.  Change that to the service
subscribing to the files, so it gets a) applied after the files, and
b) refreshed if either changes.

This seems cleaner.  The net change should be that the service gets
also notified if the .service file changes.
modules/roles/templates/snapshot/rsyncd.conf.erb [deleted file]
modules/rsync/manifests/site.pp