From a124a7f6a193df5342eab0a43e4fb1ec6583668b Mon Sep 17 00:00:00 2001 From: lessmian Date: Tue, 19 Feb 2013 15:45:08 +0100 Subject: [PATCH] sysctl module: fixed issue when checks_after fail on comparing keys with values separated by white strings --- library/sysctl | 1 + 1 file changed, 1 insertion(+) diff --git a/library/sysctl b/library/sysctl index c1f34f4f80..9b2cbebfa5 100644 --- a/library/sysctl +++ b/library/sysctl @@ -189,6 +189,7 @@ def sysctl_check(current_step, **sysctl_args): output = f.read() f.close() output = output.strip(' \t\n\r') + output = re.sub(r'\s+', ' ', output) # multi positive integer values separated by spaces as described in issue #2004 : if re.search('^([\d\s]+)$', sysctl_args['value']):