def _prepare_trans_tar(name, mods=None, saltenv='base', pillar=None):
 chunks = _compile_state(mods, saltenv)
 refs = salt.client.ssh.state.lowstate_file_refs(chunks)
 _mk_fileclient()
 trans_tar = salt.client.ssh.state.prep_trans_tar(__opts__, __context__['cp.fileclient'], chunks, refs, pillar, name)
 return trans_tar

def _prepare_trans_tar ( name , mods = None , saltenv = 'base' , pillar = None ) : chunks = _compile_state ( mods , saltenv ) refs = salt . client . ssh . state . lowstate_file_refs ( chunks ) _mk_fileclient ( ) trans_tar = salt . client . ssh . state . prep_trans_tar ( __opts__ , __context__ [ 'cp.fileclient' ] , chunks , refs , pillar , name ) return trans_tar
prepares a self contained tarball that has the state to be applied in the container .