UCLALibrary / packer-samvera

A build of Samvera/Hyrax using Packer and the 'ansible-samvera' roles
BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

Move 'log' and 'tmp' out of project directory #30

Open ksclarke opened 6 years ago

ksclarke commented 6 years ago

Predecessor: @andrewbenedictwallace opened uclalibrary/californica#19 which I think is related to this ticket (plus there have been lots of good comments over on that ticket that might be relevant for doing the work for the VM).

I'm creating the ticket here though for the VM since we'll probably want to make these config changes optional in Californica (so that the VM can override Californica defaults to implement as desired).

For the VM, it probably makes sense to use /tmp and /var/log as standard system locations (though tmp might be different since the testing framework uses this to download Fedora/Solr and perhaps these things can be cached locally so they don't have to be downloaded multiple times (since /tmp would be wiped on system restart)).

ksclarke commented 6 years ago

Possibly related: curationexperts/ansible-samvera#10

ksclarke commented 6 years ago

Also, currently logs are going to /opt/californica/current/log -- we want that to be symlinked from /var/log at the very least.