---
name: baggageclaim

templates:
  baggageclaim_ctl.erb: bin/baggageclaim_ctl
  permit_device_control: bin/permit_device_control

packages:
  - pid_utils
  - btrfs_tools
  - baggageclaim

provides:
- name: baggageclaim
  type: baggageclaim
  properties:
  - bind_port

properties:
  bind_ip:
    description: |
      IP address on which Baggageclaim should listen for HTTP traffic.
    default: 0.0.0.0

  bind_port:
    description: |
      Port on which Baggageclaim should listen for HTTP traffic.
    default: 7788

  yeller.api_key:
    description: |
      If configured, errors emitted to the logs will also be emitted to Yeller.
      This is only really useful for Concourse developers.
    default: ""

  yeller.environment_name:
    description: |
      Environment name to specify for errors emitted to Yeller.
    default: ""

  volumes_image_size_mb:
    description: |
      The size in megabytes of the volumes image to allocate. This is allocated
      under /var/vcap/data, so should leave enough space for everything else.
      Defaults to the filesystem size minus 10Gig.
    default: -1
