Commit 02477081 by Jarno Keskikangas

Fix typo: 'reseted' -> 'reset'.

parent 2613e6fb
...@@ -157,7 +157,7 @@ from operator import itemgetter ...@@ -157,7 +157,7 @@ from operator import itemgetter
def main(): def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec = dict( argument_spec = dict(
state = dict(default=None, choices=['enabled', 'disabled', 'reloaded', 'reseted']), state = dict(default=None, choices=['enabled', 'disabled', 'reloaded', 'reset']),
default = dict(default=None, aliases=['policy'], choices=['allow', 'deny', 'reject']), default = dict(default=None, aliases=['policy'], choices=['allow', 'deny', 'reject']),
logging = dict(default=None, choises=['on', 'off', 'low', 'medium', 'high', 'full']), logging = dict(default=None, choises=['on', 'off', 'low', 'medium', 'high', 'full']),
direction = dict(default=None, choises=['in', 'incoming', 'out', 'outgoing']), direction = dict(default=None, choises=['in', 'incoming', 'out', 'outgoing']),
...@@ -207,7 +207,7 @@ def main(): ...@@ -207,7 +207,7 @@ def main():
if command == 'state': if command == 'state':
states = { 'enabled': 'enable', 'disabled': 'disable', states = { 'enabled': 'enable', 'disabled': 'disable',
'reloaded': 'reload', 'reseted': 'reset' } 'reloaded': 'reload', 'reset': 'reset' }
execute(cmd + [['-f'], [states[value]]]) execute(cmd + [['-f'], [states[value]]])
elif command == 'logging': elif command == 'logging':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment