def _create_specs(self):
        """
        Create configspec instances based "conf/defaults.cfg".
        This function takes as arguments to the required section and module.
        Take them out from self.config, _create_specs pass the _config_factory.
        """

        raw_specs = self._get_raw_specs(self.config)
        spec = self._configobj_factory(infile=None,
                                       _inspec=True
                                       )

        for section, options in self.config.items():

            if section == 'global':
                continue

            if 'module' in options:
                module = options['module']
            else:
                raise ConfigMissingValue(section, 'module')

            spec.merge(self._configspec_factory(section=section,
                                                module=module,
                                                infile=raw_specs[module]
                                                )
                       )

        return spec