From d79c58738422572a00759d8cefd4a0f35eb2e165 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 25 Aug 2020 02:00:29 -0400 Subject: [PATCH] Change name of default API database From pvcprov to pvcapi to reflect the changing use of this database. --- group_vars/default/pvc.yml | 4 ++-- roles/pvc/defaults/main.yml | 4 ++-- roles/pvc/templates/pvc/pvcapid.yaml.j2 | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/group_vars/default/pvc.yml b/group_vars/default/pvc.yml index a43dbc5..6f84983 100644 --- a/group_vars/default/pvc.yml +++ b/group_vars/default/pvc.yml @@ -43,8 +43,8 @@ pvc_ceph_storage_secret_uuid: "" # Use uuidgen to generate pvc_dns_database_name: "pvcdns" pvc_dns_database_user: "pvcdns" pvc_dns_database_password: "" # Use pwgen to generate -pvc_prov_database_name: "pvcprov" -pvc_prov_database_user: "pvcprov" +pvc_prov_database_name: "pvcapi" +pvc_prov_database_user: "pvcapi" pvc_prov_database_password: "" # Use pwgen to generate pvc_replication_database_user: "replicator" pvc_replication_database_password: "" # Use pwgen to generate diff --git a/roles/pvc/defaults/main.yml b/roles/pvc/defaults/main.yml index 063c61d..3debc0b 100644 --- a/roles/pvc/defaults/main.yml +++ b/roles/pvc/defaults/main.yml @@ -25,8 +25,8 @@ ceph_storage_secret_uuid: "" pvc_dns_database_name: "pvcdns" pvc_dns_database_user: "pvcdns" pvc_dns_database_password: "PVCdnsPassw0rd" -pvc_prov_database_name: "pvcprov" -pvc_prov_database_user: "pvcprov" +pvc_prov_database_name: "pvcapi" +pvc_prov_database_user: "pvcapi" pvc_prov_database_password: "PVCprovPassw0rd" # Coordinators pvc_nodes: diff --git a/roles/pvc/templates/pvc/pvcapid.yaml.j2 b/roles/pvc/templates/pvc/pvcapid.yaml.j2 index d771e72..7901d81 100644 --- a/roles/pvc/templates/pvc/pvcapid.yaml.j2 +++ b/roles/pvc/templates/pvc/pvcapid.yaml.j2 @@ -41,9 +41,9 @@ pvc: host: localhost # port: PostgreSQL port, invariably '5432' port: 5432 - # name: PostgreSQL database name, invariably 'pvcprov' + # name: PostgreSQL database name, invariably 'pvcapi' name: {{ pvc_prov_database_name }} - # user: PostgreSQL username, invariable 'pvcprov' + # user: PostgreSQL username, invariable 'pvcapi' user: {{ pvc_prov_database_user }} # pass: PostgreSQL user password, randomly generated pass: {{ pvc_prov_database_password }}