rsync::site dependency cleanup, part 1
authorPeter Palfrader <peter@palfrader.org>
Tue, 10 Sep 2019 07:31:27 +0000 (09:31 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 10 Sep 2019 07:32:51 +0000 (09:32 +0200)
commit6a6b098f20fae6eea7f1c0aba565301e99a3ffaf
tree1eaccc9b56e87775fc48a6f078acdf07b1651c07
parent39e080753dad0998582af7ec4b0fd4511ef39d01
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/rsync/manifests/site.pp