def provision(for_master, for_slave, is_master=True):
    """
    Chooses what have to be transferred in case of master or replica servers.
    Args:
        for_master: value for master node 
        for_slave: value for slave node
        is_master: bool. is that loop running to configure master not slave

    Returns: either for_master ir for_slave depends on loop.

    """
    return for_master if is_master else for_slave