Project

General

Profile

Feature #14475

Install configuration and answer file migrations

Added by Dominic Cleal almost 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman-installer script
Target version:
Difficulty:
Triaged:
Bugzilla link:

Description

Kafo supports migration scripts for config and answer files when using scenarios, so since foreman-installer was migrated to these in #10369, the project should have a directory for them and should install them.

https://github.com/theforeman/kafo#updating-scenarios has more info.

Migrations should be created when adding classes (plugins) and changing some important default values.


Related issues

Related to Installer - Feature #10369: As a developer, I want add support for installer extensions (plugins) that support scenariosClosed2015-05-05

Associated revisions

Revision 7c62b96f (diff)
Added by Dominic Cleal almost 5 years ago

fixes #14475 - add and install config file migrations

To keep the migration files and applied file meeting packaging standards

they're symlinked into place, using this layout:

/etc/foreman-installer/scenarios.d/foreman.migrations ->
/usr/share/foreman-installer/config/foreman.migrations
/etc/foreman-installer/scenarios.d/foreman.migrations/.applied ->
/etc/foreman-installer/scenarios.d/foreman-migrations-applied

Includes migrations for current 1.10-stable to develop changes.

Revision 930ff29d (diff)
Added by Dominic Cleal almost 5 years ago

refs #14475 - change module mapping keys to symbols

Module names in the config mapping section should be symbols, so the
new migrations caused extra sections to be added. Recombine them in
another migration.

History

#1 Updated by Dominic Cleal almost 5 years ago

  • Related to Feature #10369: As a developer, I want add support for installer extensions (plugins) that support scenarios added

#2 Updated by The Foreman Bot almost 5 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-installer/pull/169 added

#3 Updated by Dominic Cleal almost 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by The Foreman Bot almost 5 years ago

  • Pull request https://github.com/theforeman/foreman-installer/pull/170 added

#5 Updated by Dominic Cleal almost 5 years ago

  • Legacy Backlogs Release (now unused) set to 136

Also available in: Atom PDF