Project

General

Profile

Actions

Idea #8014

closed

[Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriate

Added by Brett Smith over 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Deployment
Target version:
Story points:
0.5

Description

The SSO package already does this: the postinst script creates symbolic links in /var/www/arvados-sso/config to the corresponding file in /etc/arvados/sso, for files the user is expected to edit: application.yml, database.yml, production.rb.

Follow the same pattern in the process of building the API and Workbench packages. Stop copying files from /etc to /var/www, and instead set up symlinks in the postinst script.

In order to make your changes effective, you'll need to increment the iteration of the two packages, or force a rebuild of the packages by making a noop commit to them in arvados.

Update the install guide to remove references to running arvados-RAILSPKG-update.sh. That will be moot after this change.


Subtasks 2 (0 open2 closed)

Task #8111: Review 8014-rails-postinst-doc-update-wipResolvedBrett Smith01/04/2016Actions
Task #8036: Review arvados-dev branch 8014-rails-postinst-scripts-wipResolvedBrett Smith01/04/2016Actions

Related issues

Related to Arvados - Idea #8059: [Deployment] arvados-*-upgrade.sh is a postinst scriptResolvedBrett SmithActions
Blocks Arvados - Idea #8066: [Deployment] API server package postinst sets up git_internal_dirResolvedNico César01/22/2016Actions
Actions

Also available in: Atom PDF