Example #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)
Example #2
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)
Example #3
0
def run_firewall():
    if host not in add_nodes:
        crm_script.exit_ok(host)
    crm_init.configure_firewall()
    crm_script.exit_ok(host)
Example #4
0
def run_firewall():
    if host not in add_nodes:
        crm_script.exit_ok(host)
    crm_init.configure_firewall()
    crm_script.exit_ok(host)