Junos provider readd (#21869)

* Restore `provider` to junos_*

Fixes #21824
Fixes #21824
Fixes #21827

* Fix `confirm_timeout` related errors
* Fix glaring issues with _junos_template
This commit is contained in:
Nathaniel Case 2017-03-01 12:39:44 -05:00 committed by GitHub
commit d9d2e6deb6
5 changed files with 32 additions and 17 deletions

View file

@ -205,7 +205,7 @@ def load_config(module, config, commit=False, comment=None,
cmd = 'commit'
if commit:
cmd = 'commit confirmed'
if commit_timeout:
if confirm_timeout:
cmd +' %s' % confirm_timeout
if comment:
cmd += ' comment "%s"' % comment