Story #1823: Debian Packages need to be updated when updated, and environment aware
Modify dataone-cn-portal debian scripts to be aware of the deployed environment and install status
The dataone-cn-os-core package sets up the deployed environment. Subsequently installed packages, such as dataon-cn-portal, should be configured based on the deployed environment. For instance, a debconf key called dataone-cn-os-core/cn.context.label is set (to DEV, SANDBOX, STAGE, or PRODUCTION), and the portal properties file (cfg.rdf) should be modified accordingly to connect to cn-sandbox.dataone.org (in the sandbox case).
#2 Updated by Ben Leinfelder over 11 years ago
- Status changed from New to Closed
- Assignee changed from Chris Jones to Ben Leinfelder
Now configuring the callback URLs and main CN url based on the cn-os-core properties. The share DB instance uses the first of the three cn IP addresses.
We also use the cn.context.label to set the correct portalSkin for interactions with CILogon.