Actions
Bug #17982
openForeman should use Kafo reccomended migration file format
Status:
New
Priority:
Normal
Assignee:
-
Category:
foreman-installer script
Target version:
-
Description
The Kafo README.md suggests:
It is recommended to prefix the migration names with date +%y%m%d%H%M%S to avoid migration ordering issues.
Likewise the examples show:
cat <<EOF > "/etc/foreman/installer-scenarios.d/foreman-installer.migrations/`date +%y%m%d%H%M%S`-gutterball.rb"
Foreman opted instead to use +Y and an _ to prefix a migration. It would be ideal if Foreman would adopt the Kafo reccomendation, it's harder to move migrations from Foreman to Katello with the way it is now.
The migrations would have to be renamed, and the .applied filed updated in a hook or RPM script.
No data to display
Actions