def commit_config(name):
    '''
    Commits the candidate configuration to the running configuration.

    name: The name of the module function to execute.