---

- type: replace
  path: /addons/name=loggregator_agent/jobs/name=loggregator_agent/properties/deployment?
  value: ((environment))
- type: replace
  path: /addons/name=loggregator_agent/jobs/name=loggregator_agent/properties/tags?/deployment
  value: ((environment))
- type: replace
  path: /addons/name=forwarder_agent/jobs/name=loggr-forwarder-agent/properties/deployment?
  value: ((environment))
- type: replace
  path: /addons/name=forwarder_agent/jobs/name=loggr-forwarder-agent/properties/tags?/deployment
  value: ((environment))

---

- type: replace
  path: /addons/name=loggregator_agent/jobs/name=loggregator_agent/properties/deployment?
  value: ((environment))
- type: replace
  path: /addons/name=loggregator_agent/jobs/name=loggregator_agent/properties/tags?/deployment
  value: ((environment))
- type: replace
  path: /addons/name=forwarder_agent/jobs/name=loggr-forwarder-agent/properties/deployment?
  value: ((environment))
- type: replace
  path: /addons/name=forwarder_agent/jobs/name=loggr-forwarder-agent/properties/tags?/deployment
  value: ((environment))

- type: replace
  path: /releases/name=loggregator-agent
  value:
    name: "loggregator-agent"
    version: "3.19"
    url: "https://bosh.io/d/github.com/cloudfoundry/loggregator-agent-release?v=3.19"
    sha1: "cecab8716a456387e979b8cefdf74c1a9a9f2a51"

Use 3.19 loggregator agent to mitigate file descs
Use 3.19 loggregator agent to mitigate file descs

3.18 and below has a problem wherein we run out of file descriptors if
prom_scraper 404s

see https://github.com/cloudfoundry/loggregator-agent-release/releases/tag/v3.19

Signed-off-by: Toby Lorne <527052641d65eef236eeef9545b2acac74c35d57@digital.cabinet-office.gov.uk>
