From 482b3a84c594130a938f3b296b7520c0ad57ed5c Mon Sep 17 00:00:00 2001 From: Tony Hansen Date: Fri, 12 May 2017 22:01:16 +0000 Subject: [DCAE-20] fix for /var/config for postgresql Change-Id: Iab864e2ac248415df25248d666f130c9b3689ca6 Signed-off-by: Tony Hansen --- OPENECOMP-DEMO/vm-config/vm-postgresql/postgres.conf | 8 ++++++++ OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml | 13 ------------- 2 files changed, 8 insertions(+), 13 deletions(-) create mode 100644 OPENECOMP-DEMO/vm-config/vm-postgresql/postgres.conf diff --git a/OPENECOMP-DEMO/vm-config/vm-postgresql/postgres.conf b/OPENECOMP-DEMO/vm-config/vm-postgresql/postgres.conf new file mode 100644 index 0000000..daa0aee --- /dev/null +++ b/OPENECOMP-DEMO/vm-config/vm-postgresql/postgres.conf @@ -0,0 +1,8 @@ +master: ${dcae.vmEnv('PGAASMASTER')} +secondmaster: ${dcae.vmEnv('PGAASMASTER2')} +DRTR_NODE_KSTOREFILE: /opt/app/dcae-certificate/keystore.jks +DRTR_NODE_KSTOREPASS: "%{certPassword}" +DRTR_NODE_PVTKEYPASS: "%{certPassword}" +PG_NODES : ${dcae.allServersFqdn().join('|')} +PG_JAVA_HOME : /opt/app/java/jdk/jdk170 +PG_CLUSTER : site diff --git a/OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml b/OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml index 17d16f0..10e7935 100644 --- a/OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml +++ b/OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml @@ -171,16 +171,3 @@ controller-instance-configuration: password: ${dcae.password('postgres.dmaap.viewer')} role: reader roleComment: [ admin writer reader] -vm-setup: - configuration-files: - main: - destination: /tmp/postgres.conf - content: |- - master: ${ENV.PGAASMASTER ?: "TDB env.yaml@vm-templates.vm-postgresql.PGAASMASTER"} - secondmaster: ${ENV.PGAASMASTER2 ?: "TDB env.yaml@vm-templates.vm-postgresql.PGAASMASTER2"} - DRTR_NODE_KSTOREFILE: /opt/app/dcae-certificate/keystore.jks - DRTR_NODE_KSTOREPASS: "%{certPassword}" - DRTR_NODE_PVTKEYPASS: "%{certPassword}" - PG_NODES : ${dcae.allServersFqdn().join('|')} - PG_JAVA_HOME : /opt/app/java/jdk/jdk170 - PG_CLUSTER : site -- cgit 1.2.3-korg b6edfa8d089b843'>diffstats
blob: 43ca5b671f4bd930506ebb787b1b85517c5be5ee (plain)
1
2
3
/.tox
/_build/*
/__pycache__/*