Use correct exec_driver in dockerng.sls module

This change allow to execute dockerng.sls module with correct
docker exec_driver.
This commit is contained in:
Artur Kaszuba 2017-04-10 15:55:48 +02:00
parent 4fa58be222
commit 3a0d61f108

View File

@ -5744,7 +5744,7 @@ def sls(name, mods=None, saltenv='base', **kwargs):
trans_tar_sha256 = salt.utils.get_hash(trans_tar, 'sha256')
__salt__['dockerng.copy_to'](name, trans_tar,
os.path.join(trans_dest_path, 'salt_state.tgz'),
exec_driver='nsenter',
exec_driver=_get_exec_driver(),
overwrite=True)
# Now execute the state into the container