The BOSH release for Diego contains a cfdot job template that deploys cfdot and jq binaries as well as a setup script to make them easy to invoke. If you use the generate-deployment-manifest script to generate your Diego manifest, cfdot is already available on the BOSH-deployed Diego VMs. To use it:
-
Run
bosh ssh <DIEGO_JOB>/<INDEX>to start an SSH session on a Diego deployment VM. -
Run
source /var/vcap/jobs/cfdot/bin/setupto add thecfdotandjqexecutables to your PATH as well as to set environment variables for communication to the BBS API server.
See the cfdot documentation for more information on how to use the tool or run cfdot --help to show usage.