Configuring EDB Repos 2.0 repositories
======================================

TPAは、 `EDB Repos 2.0 <https://www.enterprisedb.com/repos/>`_  からEDBソフトウェアをソースします。 EDB Repos
2.0を使用するには、
tpaexecを実行する前に\ ``export EDB_SUBSCRIPTION_TOKEN=xxx``
を行う必要があります。サブスクリプショントークンは `the web interface <https://www.enterprisedb.com/repos-downloads>`_ 
から取得できます。

..  Note::
   ``tpaexec configure`` コマンドを使用して\ ``config.yml``   ファイルを作成する場合、\ ``edb_repositories``   キーには、選択した構成に必要なリポジトリが自動的に入力されるため、編集する必要はありません。

各インスタンスにインストールするEDB Repos 2.0のリポジトリの完全なリストを指定するには、 `edb_repositories` をEDBリポジトリ名のリストに設定します。

.. code:: yaml

   cluster_vars:
     edb_repositories:
       - enterprise
       - postgres_distributed

この例では、’enterprise’サブスクリプションリポジトリと、EPASおよびPGD製品へのアクセスを付与する’postgres_distributed’をインストールします。
DebianまたはUbuntuシステムでは、APTリポジトリを使用し、RedHatまたはSLESシステムでは、それぞれyumまたはzypperフロントエンドを介してrpmリポジトリを使用します。
