Migration warning when compat enabled

Added check into migration plugin to warn user when compat is enabled.
If compat is enabled, the migration fails and user is warned that he
must turn the compat off or run the script with (the newly introduced)
option '--with-compat'.

'--with-compat' is new flag. If it is set, the compat status is ignored.

https://fedorahosted.org/freeipa/ticket/2274
This commit is contained in:
Ondrej Hamada
2012-02-29 18:30:03 -05:00
committed by Rob Crittenden
parent 0099ccbea8
commit 73249140fc
3 changed files with 32 additions and 4 deletions
+1 -1
View File
@@ -79,4 +79,4 @@ IPA_DATA_VERSION=20100614120000
# #
########################################################
IPA_API_VERSION_MAJOR=2
IPA_API_VERSION_MINOR=28
IPA_API_VERSION_MINOR=29