def cluster_node_add(node, extra_args=None):
    cmd = ['pcs', 'cluster', 'node', 'add']

    cmd += [node]
    if isinstance(extra_args, (list, tuple)):
        cmd += extra_args

    return __salt__['cmd.run_all'](cmd, output_loglevel='trace', python_shell=False)
Add a node to the pacemaker cluster via pcs command
dataset/ETHPy150Open saltstack/salt/salt/modules/pcs.py/cluster_node_add