summaryrefslogtreecommitdiffstats
path: root/ipaplatform/base/tasks.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-11-18 10:40:31 +0100
committerPetr Vobornik <pvoborni@redhat.com>2014-11-19 15:47:45 +0100
commita14ce85357419f41f0994625d29d3f1af7a53d4c (patch)
treea7dd448c7edcfd89f8eeff73ffb1246db5af540c /ipaplatform/base/tasks.py
parent52b141ca6a257b8f12d9ad2ade812ec1bfebf0d7 (diff)
downloadfreeipa-a14ce85357419f41f0994625d29d3f1af7a53d4c.tar.gz
freeipa-a14ce85357419f41f0994625d29d3f1af7a53d4c.tar.xz
freeipa-a14ce85357419f41f0994625d29d3f1af7a53d4c.zip
Do not restore SELinux settings that were not backed up
https://fedorahosted.org/freeipa/ticket/4678 Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Diffstat (limited to 'ipaplatform/base/tasks.py')
-rw-r--r--ipaplatform/base/tasks.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipaplatform/base/tasks.py b/ipaplatform/base/tasks.py
index 9b15119c4..ff71c2bd1 100644
--- a/ipaplatform/base/tasks.py
+++ b/ipaplatform/base/tasks.py
@@ -152,7 +152,8 @@ class BaseTaskNamespace(object):
:param required_settings: A dictionary mapping the boolean names
to desired_values.
- The desired value can be 'on' or 'off'.
+ The desired value can be 'on' or 'off',
+ or None to leave the setting unchanged.
:param backup_func: A function called for each boolean with two
arguments: the name and the previous value