accept addition of layman overlay

Fixes #25949.
This commit is contained in:
Justin Findlay 2015-08-03 11:32:13 -06:00
parent 87d028b302
commit 237a9e18b3

View file

@ -46,7 +46,7 @@ def add(overlay):
ret = list()
old_overlays = list_local()
cmd = 'layman --quietness=0 --add {0}'.format(overlay)
__salt__['cmd.retcode'](cmd, python_shell=False)
__salt__['cmd.retcode'](cmd, python_shell=False, stdin='y')
new_overlays = list_local()
# If we did not have any overlays before and we successfully added