Did I find the right examples for you? yes no

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

src/r/e/remotia-0.1.8/src/remotia/scripts/operations.py   remotia(Download)
    """
 
    ssh = deployers.get_ssh(hostname)
    deployers.print_host(hostname, "deploying the ssh keys...")
    deployers.deploy_keys(ssh)
def reboot(hostname):
    ssh = deployers.get_ssh(hostname)
    deployers.reboot(ssh)
    deployers.print_host(hostname, "reboot order sent")
 
def upgrade(hostname):
    ssh = deployers.get_ssh(hostname)
def dns_update(hostname):
    ssh = deployers.get_ssh(hostname)
    if not hostname in config.DNS_SERVERS: return
    config_v = config.DNS_CONFIG.get(hostname, {})
    deployers.update_dns(ssh, **config_v)
    deployers.print_host(hostname, "updated dns registers")
 
def dhcp_update(hostname):
    ssh = deployers.get_ssh(hostname)

src/r/e/remotia-0.1.8/src/remotia/scripts/omni.py   remotia(Download)
def omni_deploy(hostname, local_path = None):
    ssh = deployers.get_ssh(hostname)
    deployers.print_host(hostname, "deploying mysql...")
    db.mysql_deploy(hostname)
    deployers.print_host(hostname, "deployed mysql")
    if not os.path.exists(omni_path): os.makedirs(omni_path)
 
    ssh = deployers.get_ssh(hostname)
    deployers.print_host(hostname, "dumping database...")
    remote_path = deployers.mysql_dump(

src/r/e/remotia-0.1.8/src/remotia/scripts/consulting.py   remotia(Download)
    if not os.path.exists(cleermob_path): os.makedirs(cleermob_path)
 
    ssh = deployers.get_ssh(hostname)
    deployers.print_host(hostname, "dumping database...")
    remote_path = deployers.mysql_dump(

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)