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