Vyos config fixes (#21862)

* Fix vyos signatures to match new versions

* Fix test cases referring to 'updates' instead of 'commands'

* I think this is an artifact of `connection: network_cli`?
This commit is contained in:
Nathaniel Case 2017-02-25 21:14:40 -05:00 committed by Peter Sprygada
parent ca21d09483
commit 9b9ed59d98
6 changed files with 5 additions and 29 deletions

View file

@ -221,10 +221,9 @@ def run(module, result):
commit = not module.check_mode
comment = module.params['comment']
save = module.params['save']
if commands:
load_config(module, commands, commit=commit, comment=comment, save=save)
load_config(module, commands, commit=commit, comment=comment)
if result.get('filtered'):
result['warnings'].append('Some configuration commands were '