Create shared/{tmp,cache} directories when manage-storage-directories is enabled
In production, these directories are NFS-mounted on the front-end nodes (web, git, api), and as they aren't created by fefault (Rails creates them when needed), the provisioning of these nodes fails and requires manual intervention, hence we create them early in the process.
Edited by Ahmad Sherif