def METHOD_NAME(self):
    enabled = self.environment[
        oclcons.ProvisioningEnv.POSTGRES_PROVISIONING_ENABLED
    ]
    if not self.environment[oclcons.CoreEnv.ENABLE]:
        enabled = False
    if enabled is None:
        local = dialog.queryBoolean(
            dialog=self.dialog,
            name='OVESETUP_PROVISIONING_POSTGRES_LOCATION',
            note=_(
                'Where is the ovirt cinderlib database located? '
                '(@VALUES@) [@DEFAULT@]: '
            ),
            prompt=True,
            true=_('Local'),
            false=_('Remote'),
            default=True,
        )
        if local:
            self.environment[oclcons.CinderlibDBEnv.HOST] = 'localhost'
            self.environment[
                oclcons.CinderlibDBEnv.PORT
            ] = oclcons.Defaults.DEFAULT_CINDERLIB_DB_PORT
            # TODO:
            # consider creating database and role
            # at engine_@RANDOM@
            self.environment[
                oclcons.ProvisioningEnv.
                POSTGRES_PROVISIONING_ENABLED
            ] = dialog.queryBoolean(
                dialog=self.dialog,
                name='OVESETUP_PROVISIONING__CL_POSTGRES_ENABLED',
                note=_(
                    'Setup can configure the local postgresql server '
                    'automatically for the CinderLib to run. This may '
                    'conflict with existing applications.\n'
                    'Would you like Setup to automatically configure '
                    'postgresql and create CinderLib database, '
                    'or prefer to perform that '
                    'manually? (@VALUES@) [@DEFAULT@]: '
                ),
                prompt=True,
                true=_('Automatic'),
                false=_('Manual'),
                default=True,
            )
        else:
            self.environment[
                oclcons.ProvisioningEnv.
                POSTGRES_PROVISIONING_ENABLED
            ] = False
    self._enabled = self.environment[
        oclcons.ProvisioningEnv.POSTGRES_PROVISIONING_ENABLED
    ]
    if self._enabled:
        self._provisioning.applyEnvironment()