Separate the replication and expiry tasks for tile servers
authorTom Hughes <tom@compton.nu>
Sat, 4 Mar 2017 12:13:28 +0000 (12:13 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 4 Mar 2017 12:27:10 +0000 (12:27 +0000)
commit743225d946030d146d8a130eb6551e9246d7ada4
treebab587855baa7f32ae63fc695d73f3e878089230
parenta8f63f70a72d3c11397614f7960fd39685ce8b9a
Separate the replication and expiry tasks for tile servers

They need to run as different users, so use a systemd path unit to
trigger the expiry without needing an awkward security transition.
cookbooks/tile/recipes/default.rb
cookbooks/tile/templates/default/expire-tiles.erb
cookbooks/tile/templates/default/replicate.erb
cookbooks/tile/templates/default/sudoers.erb [deleted file]