示例#1
0
def send_file_to_slave(src, dst):
    info('putting file {} => {}'.format(src, dst))
    with settings(host_string=conf[CONF_SLAVE_HOST]):
        put_file(local_path=src, remote_path=dst)
示例#2
0
def send_file_to_slave(src, dst):
    info('putting file {} => {}'.format(src, dst))
    with settings(host_string=conf[CONF_SLAVE_HOST]):
        put_file(local_path=src, remote_path=dst)