First steps in consolidating attributes postgresql['dir'] and postgresql['data_dir']"
requested to merge 2214-investigate-consolidating-attributes-postgresql-dir-and-postgresql-data_dir into master
Related to #2214 (closed)
This makes a few postgresql attributes relative to postgresql['dir']
. Allowing:
- The database can be run from a different directory
-
/var/opt/gitlab/postgresql/data
is no longer required to always exist -
postgresql['data_dir']
andpostgresql['dir']
can point to completely separate directories without issue
This is a pre-requisite to potentially deprecating postgresql['data_dir']
Edited by GitLab Release Tools Bot