---
- type: replace
  path: /instance_groups/name=diego-bbs/jobs/-
  value:
    name: cfdot
    release: diego
    properties:
      diego:
        cfdot:
          bbs:
            use_ssl: true
            ca_cert: "((diego_bbs_server.ca))"
            client_cert: "((diego_bbs_server.certificate))"
            client_key: "((diego_bbs_server.private_key))"
- type: replace
  path: /instance_groups/name=diego-brain/jobs/-
  value:
    name: cfdot
    release: diego
    properties:
      diego:
        cfdot:
          bbs:
            use_ssl: true
            ca_cert: "((diego_bbs_server.ca))"
            client_cert: "((diego_bbs_server.certificate))"
            client_key: "((diego_bbs_server.private_key))"
- type: replace
  path: /instance_groups/name=diego-cell/jobs/-
  value:
    name: cfdot
    release: diego
    properties:
      diego:
        cfdot:
          bbs:
            use_ssl: true
            ca_cert: "((diego_bbs_server.ca))"
            client_cert: "((diego_bbs_server.certificate))"
            client_key: "((diego_bbs_server.private_key))"

---
- type: replace
  path: /instance_groups/name=diego-bbs/jobs/-
  value:
    name: cfdot
    release: diego
    properties:
      diego:
        cfdot:
          bbs:
            use_ssl: true
            ca_cert: "((diego_bbs_client.ca))"
            client_cert: "((diego_bbs_client.certificate))"
            client_key: "((diego_bbs_client.private_key))"
- type: replace
  path: /instance_groups/name=diego-brain/jobs/-
  value:
    name: cfdot
    release: diego
    properties:
      diego:
        cfdot:
          bbs:
            use_ssl: true
            ca_cert: "((diego_bbs_client.ca))"
            client_cert: "((diego_bbs_client.certificate))"
            client_key: "((diego_bbs_client.private_key))"
- type: replace
  path: /instance_groups/name=diego-cell/jobs/-
  value:
    name: cfdot
    release: diego
    properties:
      diego:
        cfdot:
          bbs:
            use_ssl: true
            ca_cert: "((diego_bbs_client.ca))"
            client_cert: "((diego_bbs_client.certificate))"
            client_key: "((diego_bbs_client.private_key))"

Fix bbs cert to use client, not server
Fix bbs cert to use client, not server

Signed-off-by: Aakash Shah <88d21716b3df1e9d291d91c646300964a4b6d807@pivotal.io>
