Server Upgrade: Apply plugin updates immediately

Preparation to moving plugins executin into update files.
* remove apply_now flag
* plugins will return only (restart, modifications)

https://fedorahosted.org/freeipa/ticket/4904

Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
Martin Basti
2015-03-17 17:56:34 +01:00
committed by Petr Vobornik
parent b4ca5c57d2
commit cc19b5a76a
14 changed files with 67 additions and 74 deletions

View File

@@ -184,7 +184,7 @@ class update_uniqueness_plugins_to_new_syntax(PreUpdate):
except errors.NotFound:
root_logger.debug("No uniqueness plugin entries with old style "
"configuration found")
return False, False, []
return False, []
update_list = []
new_attributes = [
@@ -220,6 +220,6 @@ class update_uniqueness_plugins_to_new_syntax(PreUpdate):
update_list.append(update)
return False, True, update_list
return False, update_list
api.register(update_uniqueness_plugins_to_new_syntax)