---
name: rep

templates:
  rep_ctl.erb: bin/rep_ctl
  drain.erb: bin/drain

packages:
  - pid_utils
  - rep

properties:
  diego.rep.etcd.machines:
    description: "IPs pointing to the ETCD cluster"
  diego.rep.stack:
    description: "The stack for which to handle requests"
    default: "lucid64"
  diego.rep.executor.url:
    description: "URL of the executor to represent"
    default: "http://127.0.0.1:1700"
  diego.rep.listen_addr:
    description: "address to serve auction and LRP stop requests on"
    default: "0.0.0.0:1800"
  diego.rep.debug_addr:
    description: "address at which to serve debug info"
    default: "0.0.0.0:17008"
  diego.rep.polling_interval_in_seconds:
    description: "The interval to look for completed tasks and LRPs in seconds"
    default: 30
  diego.rep.evacuation_polling_interval_in_seconds:
    description: "The interval to look for completed tasks and LRPs during evacuation in seconds"
    default: 10
  diego.rep.evacuation_timeout_in_seconds:
    description: "The time to wait for evacuation to complete in seconds"
    default: 600
  diego.rep.zone:
    description: "The zone associated with the rep"
  diego.rep.preloaded_rootfses:
    description: "Array of name:absolute_path pairs representing root filesystems preloaded onto the underlying garden"
    default:
      - cflinuxfs2:/var/vcap/packages/rootfs_cflinuxfs2
      - lucid64:/var/vcap/packages/rootfs_lucid64
  diego.rep.rootfs_providers:
    description: "Array of schemes for which the underlying garden can support arbitrary root filesystems"
    default:
      - docker
  diego.rep.log_level:
    description: "Log level"
    default: "info"
