a9s Deployer Properties

anynines_bosh_deployer.bosh.directors

A hash of BOSH Directors used to deploy and manage the service instances. Only one BOSH Director can be active at the same time. New service instances are always created on the active BOSH Director.

The key of each hash entry is used as the name of the BOSH Director and must not be changed as long as there are service instances for that BOSH Director.

Each hash entry has the following mandatory properties:

PropertyDescription
environmentThe URL of the BOSH Director.
ca_certThe CA certifcate of the BOSH Director.
clientThe username to connect to the BOSH Director.
client_secretThe password for the client to connect to the BOSH Director.
activeIf true this BOSH Director is used to deploy new service instances. Only one BOSH Director can be active at the same time.

Example Ops file to add an additional BOSH Directors to the directors hash and mark the second as active:

---
- type: replace
  path: /properties/anynines_bosh_deployer/bosh/directors/director2
  value:
    environment: 172.16.1.17
    ca_cert: |
      -----BEGIN CERTIFICATE-----
      -----END CERTIFICATE-----
    client: admin
    client_secret: password
    active: true # Mark this director as active

# Deactivate the default director
- type: replace
  path: /properties/anynines_bosh_deployer/bosh/directors/director/active
  value: false