def remove_datasource(jboss_config, name, profile=None):
    log.debug("======================== MODULE FUNCTION: jboss7.remove_datasource, name=%s, profile=%s", name, profile)

    operation = '/subsystem=datasources/data-source={name}:remove'.format(name=name)
    if profile is not None:
        operation = '/profile="{profile}"'.format(profile=profile) + operation

    return __salt__['jboss7_cli.run_operation'](jboss_config, operation, fail_on_error=False)
Removes the tab specified by tab_id, unmaps and unmanages the
dataset/ETHPy150Open saltstack/salt/salt/modules/jboss7.py/remove_datasource--crossover with--dataset/ETHPy150Open francelabs/datafari/windows/python/Lib/lib-tk/ttk.py/Notebook.forget