<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_environments():
 """ Return defined environments from config file for default environment values. """

    config = ConfigParser.SafeConfigParser()

    config = _config_file()

    juicer.utils.Log.log_debug("Reading environment sections:")

    environments = config.sections()
    juicer.utils.Log.log_debug("Read environment sections: %s", ', '.join(environments))
    return environments