Descriptionworker/uniter: simplify EnsureTools and make it concurrent-safe
If someone breaks the symlinks, the user "gets everything they deserve".
Avoiding the link reading logic makes it trivial for EnsureTools
to be idempotent, even when run concurrently.
Also fix the agent name to match our upstart convention
which prefixes the tools directory with the agent kind.
https://code.launchpad.net/~rogpeppe/juju-core/uniter-ensuretools-simplify/+merge/118748
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : worker/uniter: simplify EnsureTools and make it concurrent-safe #Patch Set 3 : worker/uniter: simplify EnsureTools and make it concurrent-safe #
Total comments: 3
Patch Set 4 : worker/uniter: simplify EnsureTools and make it concurrent-safe #Patch Set 5 : worker/uniter: simplify EnsureTools and make it concurrent-safe #
MessagesTotal messages: 6
|