Closed andersbs closed 9 years ago
I've not done any work on Trusty yet, yes one option would be to have the vcsrepo
run without a user that notifies a refreshonly file resource that rucurses over the directory with appropriate ownership.
However, I've used that pattern in the past, and there's a few tricks around (eg. ignore the .git
directory) and it's hard to make it idempotent (i.e. it can constantly trigger changed).
Fixed in bfb2377d52c39707dcd58c0481b5485471d430f4
www-data has a nologin shell on trusty which breaks the git installation due to su refusing run the specified command (git).
Perhaps the answer is a file resource afterwards but it's an extra.
Thoughts?