From 8abca62b926cd2bf3235a5a41e88922062a16e61 Mon Sep 17 00:00:00 2001 From: lessmian Date: Tue, 19 Feb 2013 15:50:13 +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']):