示例#1
0
def run_install():
    packages = [
        'cluster-glue', 'corosync', 'crmsh', 'pacemaker', 'resource-agents'
    ]
    crm_init.install_packages(packages)
    crm_init.configure_firewall()
    crm_script.exit_ok(True)
示例#2
0
文件: add.py 项目: parr0tr1ver/crmsh
def run_install():
    if host not in add_nodes:
        crm_script.exit_ok(host)
    packages = [
        'cluster-glue', 'corosync', 'crmsh', 'pacemaker', 'resource-agents'
    ]
    crm_init.install_packages(packages)
    crm_script.exit_ok(host)
示例#3
0
def run_install():
    packages = ['cluster-glue', 'corosync', 'crmsh', 'pacemaker', 'resource-agents']
    crm_init.install_packages(packages)
    crm_init.configure_firewall()
    crm_script.exit_ok(True)
示例#4
0
文件: add.py 项目: aomoriringo/crmsh
def run_install():
    if host not in add_nodes:
        crm_script.exit_ok(host)
    packages = ['cluster-glue', 'corosync', 'crmsh', 'pacemaker', 'resource-agents']
    crm_init.install_packages(packages)
    crm_script.exit_ok(host)