Sync templates and scripts in shell handler

This commit is contained in:
Jedrzej Nowak 2015-10-13 18:58:23 +02:00
parent bb6a769d92
commit 8db938c46d

View File

@ -25,6 +25,7 @@ class Shell(TempFileHandler):
log.debug('action_file: %s', action_file)
action_file_name = '/tmp/{}.sh'.format(resource.name)
self.prepare_templates_and_scripts(resource, action_name, '')
self.transport_sync.copy(resource, action_file, action_file_name)
self.transport_sync.sync_all()
cmd = self.transport_run.run(