Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/r/e/remotia-0.1.8/src/remotia/scripts/omni.py   remotia(Download)
    deployers.print_host(hostname, "deployed mysql")
    deployers.print_host(hostname, "setting users...")
    deployers.mysql_add_user(ssh, config.OMNI_DB_USERNAME, config.OMNI_DB_PASSWORD)
    deployers.print_host(hostname, "transferring file...")
    deployers.put(ssh, local_path, "/tmp/omni_deploy.tar.gz", remove = False)

src/r/e/remotia-0.1.8/src/remotia/scripts/db.py   remotia(Download)
def mysql_deploy(hostname, username = None, password = None, bind = "0.0.0.0"):
    ssh = deployers.get_ssh(hostname)
    deployers.install_apt(ssh, "mysql-server")
    deployers.mysql_open(ssh, bind)
    username and password and deployers.mysql_add_user(ssh, username, password)