Skip to content

Commit

Permalink
Fix for issue #39
Browse files Browse the repository at this point in the history
  • Loading branch information
shermdog committed Aug 15, 2014
1 parent 96e68e9 commit 8df6682
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions library/junos_install_config
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ def junos_install_config(module, dev):
overwrite = module.boolean(module.params['overwrite'])
if True == overwrite:
load_args['overwrite'] = True
elif False == overwrite:
load_args['merge'] = True
cu.load(**load_args)
except ValueError as err:
logging.error("unable to load config:{0}".format(err.message))
Expand Down
4 changes: 2 additions & 2 deletions version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VERSION = "0.3.0"
DATE = "2014-Aug-15"
VERSION = "0.4.0"
DATE = "2014-Aug-15"

0 comments on commit 8df6682

Please sign in to comment.