From 9f049ca14403f3696d54d186e6b1b15181f055df Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Fri, 10 Apr 2015 15:42:58 +0200 Subject: Server Upgrade: Verify version and platform Verify version and platform before upgrade or ipactl start|restart Upgrade: * do not allow upgrade on different platforms * do not allow upgrade data with higher version than build has Start: * do not start services if platform mismatch * do not start services if upgrade is needed * do not start services if data with higher version than build has New ipactl options: --skip-version-check: do not validate IPA version --ignore-service-failures (was --force): ignore if a service start fail and continue with starting other services --force: combine --skip-version-check and --ignore-service-failures https://fedorahosted.org/freeipa/ticket/4904 Reviewed-By: Jan Cholasta Reviewed-By: David Kupka --- ipaplatform/__init__.py.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ipaplatform/__init__.py.in (limited to 'ipaplatform/__init__.py.in') diff --git a/ipaplatform/__init__.py.in b/ipaplatform/__init__.py.in new file mode 100644 index 000000000..61f6f3c4a --- /dev/null +++ b/ipaplatform/__init__.py.in @@ -0,0 +1,12 @@ +# +# Copyright (C) 2015 FreeIPA Contributors see COPYING for license +# + +''' +Module containing platform-specific functionality for every platform. +''' + +NAME = "__PLATFORM__" + +# FIXME: too much cyclic dependencies +# from __PLATFORM__ import paths, tasks, services -- cgit