Fix whitespace around '=' in sysctl.conf.

This commit is contained in:
Martijn P. Rijkeboer 2014-11-10 20:00:28 +01:00
parent cc1de2c562
commit 5257222f33

View file

@ -278,10 +278,10 @@ class SysctlModule(object):
checked.append(k) checked.append(k)
if k == self.args['name']: if k == self.args['name']:
if self.args['state'] == "present": if self.args['state'] == "present":
new_line = "%s = %s\n" % (k, self.args['value']) new_line = "%s=%s\n" % (k, self.args['value'])
self.fixed_lines.append(new_line) self.fixed_lines.append(new_line)
else: else:
new_line = "%s = %s\n" % (k, v) new_line = "%s=%s\n" % (k, v)
self.fixed_lines.append(new_line) self.fixed_lines.append(new_line)
if self.args['name'] not in checked and self.args['state'] == "present": if self.args['name'] not in checked and self.args['state'] == "present":