|
|
|
@ -285,7 +285,7 @@ class SysctlModule(object):
|
|
|
|
|
self.fixed_lines.append(new_line)
|
|
|
|
|
|
|
|
|
|
if self.args['name'] not in checked and self.args['state'] == "present":
|
|
|
|
|
new_line = "%s = %s\n" % (self.args['name'], self.args['value'])
|
|
|
|
|
new_line = "%s=%s\n" % (self.args['name'], self.args['value'])
|
|
|
|
|
self.fixed_lines.append(new_line)
|
|
|
|
|
|
|
|
|
|
# Completely rewrite the sysctl file
|
|
|
|
|