def import_module(module):
    """
    Allows custom providers, configurators and distros.

    Import the provider, configurator, or distro module via a string.
        ex. ``bootmachine.contrib.providers.rackspace_openstack_v2``
        ex. ``bootmachine.contrib.configurators.salt``
        ex. ``bootmachine.contrib.distros.arch_201208``
    """
    try:
        __import__(module)
        return sys.modules[module]
    except __HOLE__:
        abort("Unable to import the module: {0}".format(module))


# import provider and configurator here so their fabric tasks are properly namespaced
dataset/ETHPy150Open rizumu/bootmachine/bootmachine/core.py/import_module