Ticket #1204 (closed feature request: fixed)

Opened 9 months ago

Last modified 5 months ago

Installer option for OpenPSA

Reported by: bergie Assigned to: piotras
Priority: blocker Milestone: 8.09.6 Ragnaroek
Component: Midgard Data Version: 8.09 Ragnaroek
Keywords: Cc:

Description

Datagard needs to be able to install OpenPSA sites. This means different components installed, different default template and a default topic structure that includes all the OpenPSA folders.

Preferably this would be set up so that full OpenPSA installation can be done from packages, so Midgard and OpenPSA could be set up by simple apt-get install openpsa.

Change History

06/29/09 15:52:36 changed by piotras

(In [22731]) Added 'application' argument support. Installs standalone Midgard application if 'application' (-p) argument is used together with install action type. Refs #1204.

06/29/09 15:54:14 changed by piotras

Added application argument support with initial apps list. r22729, r22730.

06/29/09 19:34:09 changed by piotras

(In [22734]) midgard_quick_setup: Added configure_application and install_application methods. midgard_setup_app: changed constructor so it accepts midgard_setup_config now. Added mandatory org_openpsa pear packages. Structure creator reads config using absolute path. Refs #1204

06/29/09 20:38:30 changed by piotras

(In [22735]) Include midcom constants if not defined. Refs #1204

06/29/09 20:41:35 changed by piotras

(In [22736]) constructor; Do not use legacy function. Refs #1204

06/30/09 17:13:40 changed by piotras

(In [22748]) Refs #1204. midgard_admin_sitewizard_nnn: get(set)_sitegroup moved to abstract class. sitewizard_creator_structure can set root topic name explicitly. midgard_setup_app sets structure creator's sitegroup. midgard_setup_app configures sitegroup.

06/30/09 19:48:48 changed by piotras

(In [22754]) Force SG0 default sitegroup when configuring it. Refs #1204

06/30/09 19:58:16 changed by piotras

(In [22755]) Get root topic name with proper method, even if it's used for error message. Refs #1204

07/29/09 16:53:15 changed by piotras

(In [23038]) Added missed set_sitegroup_name method. Refs #1204

07/29/09 17:41:08 changed by piotras

(In [23040]) set_sitegroup_name implicitly invokes set_sitegroup. Temporary solution. Refs #1204

07/29/09 18:08:55 changed by bergie

Tested this today. Several issues:

  • There were new bugs in regular datagard operation introduced by the #1204 patches, but I believe these are now OK
  • If I want only OpenPSA, why does Midgard want to install the CMS (and a vhost for the CMS!) first?
  • When installing the template_openpsa2 package datagard asks what SG to install under. Setting something else than SG0 causes:
Failed to create Midgard style "template_OpenPsa2", check config directives in the Midgard conf.d file . Error was Resource link crosses sitegroup borders (SG: 0)
  • After OpenPSA components are installed datagard does not prepare the database tables for them
  • datagard doesn't alert user that Apache must be restarted after component install
  • the OpenPSA topic tree is there, but the existing host is not set to use it, and a new host is not created

07/30/09 13:37:06 changed by piotras

(In [23048]) Check if database exists before trying to create it. Refs #1204

07/30/09 13:38:04 changed by piotras

(In [23049]) Force SG0 root login when requested. Refs #1204

07/30/09 13:41:49 changed by piotras

(In [23050]) Run custom install routines when package install is requested. Refs #1204

07/30/09 13:50:12 changed by piotras

(In [23051]) Inform user about the need to restart httpd server. Refs #1204

07/30/09 13:54:27 changed by piotras

(In [23052]) Update dabase when new package has been installed. refs #1204

07/30/09 21:27:57 changed by piotras

(In [23057]) Install database and run normal setup when package install is requested with initial setup. Configure sitegroup and its name properly (mixed set_sitegroup and set_sitegroup_name). Refs #1204

07/31/09 10:34:32 changed by piotras

(In [23059]) Added get_key_from_list method. Refs #1204

07/31/09 12:22:22 changed by piotras

(In [23061]) Create package's topics before we actually create host. Select root topic for newly created host. Refs #1204

08/04/09 21:34:31 changed by piotras

(In [23071]) Improve ( as much as possible ) UI cli "interface". Refs #1204.

09/21/09 15:03:45 changed by jval

(In [23433]) Don't install Midgard CMS packages in application install case. Simplifies code too (dbupdate in one place). Refs #1204

09/21/09 17:40:26 changed by jval

(In [23444]) Fix datagard. Add e.g. configuration file name support back. The CMD contains all needed arguments here (it's args without action). Refs #1204

09/21/09 17:50:14 changed by jval

(In [23445]) Simplify the code, refs #1204

10/05/09 14:51:19 changed by piotras

  • status changed from new to closed.
  • resolution set to fixed.

Confirmed as usable and working.

10/15/09 16:29:58 changed by jval

(In [23620]) There were a few set_sitegroup_name() calls which should have been changed to set_sitegroup() calls as well in r23057. This commit should fix the weird issue I noticed while testing. Refs #1204, refs #883

10/15/09 16:40:03 changed by jval

(In [23621]) Previous commit broke sitegroup admin login, so I guess we need both the full object and name then. Refs #1204, refs #883

10/16/09 11:28:09 changed by jval

(In [23630]) Fix feature added in r23048. Refs #1204, refs #1057, refs #883