[DCAE-20] fix for /var/config for postgresql 89/4189/1
authorTony Hansen <tony@att.com>
Fri, 12 May 2017 22:01:16 +0000 (22:01 +0000)
committerTony Hansen <tony@att.com>
Fri, 12 May 2017 22:08:16 +0000 (22:08 +0000)
Change-Id: Iab864e2ac248415df25248d666f130c9b3689ca6
Signed-off-by: Tony Hansen <tony@att.com>
OPENECOMP-DEMO/vm-config/vm-postgresql/postgres.conf [new file with mode: 0644]
OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml

diff --git a/OPENECOMP-DEMO/vm-config/vm-postgresql/postgres.conf b/OPENECOMP-DEMO/vm-config/vm-postgresql/postgres.conf
new file mode 100644 (file)
index 0000000..daa0aee
--- /dev/null
@@ -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
index 17d16f0..10e7935 100644 (file)
@@ -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