---
classes:
  - 'backdrop'
  - 'backdrop_collector'
  - 'clamav'
  - 'google_credentials'
  - 'performanceplatform::checks::backdrop'
  - 'performanceplatform::backdrop_smoke_tests'
  - 'python'

backdrop_apps:
  admin.backdrop:
    port:       3203
    # This is a placeholder until we extract a separate app
    app_module: 'backdrop.admin.app:app'
    user:       'deploy'
    group:      'deploy'
  read.backdrop:
    port:       3038
    app_module: 'backdrop.read.api:app'
    user:       'deploy'
    group:      'deploy'
  write.backdrop:
    port:       3039
    app_module: 'backdrop.write.api:app'
    user:       'deploy'
    group:      'deploy'

backdrop_collectors:
  backdrop-ga-collector:
    user: 'deploy'
    group: 'deploy'
  backdrop-ga-realtime-collector:
    user: 'deploy'
    group: 'deploy'
  backdrop-pingdom-collector:
    user: 'deploy'
    group: 'deploy'

python::version:    '2.7'
python::dev:        true
python::virtualenv: true
python::pip:        true

backdrop::user: 'deploy'
backdrop::group: 'deploy'
backdrop::pip_cache_path: '/var/cache/pip-download-cache'

ufw_rules:
  allowhttp:
    port: 80
    ip:   'any'

ruby_packages:
  - curb
  - json

---
classes:
  - 'backdrop'
  - 'backdrop_collector'
  - 'clamav'
  - 'google_credentials'
  - 'performanceplatform::checks::backdrop'
  - 'performanceplatform::backdrop_smoke_tests'
  - 'python'
  - 'postgresql::lib::devel'

backdrop_apps:
  admin.backdrop:
    port:       3203
    # This is a placeholder until we extract a separate app
    app_module: 'backdrop.admin.app:app'
    user:       'deploy'
    group:      'deploy'
  read.backdrop:
    port:       3038
    app_module: 'backdrop.read.api:app'
    user:       'deploy'
    group:      'deploy'
  write.backdrop:
    port:       3039
    app_module: 'backdrop.write.api:app'
    user:       'deploy'
    group:      'deploy'

backdrop_collectors:
  backdrop-ga-collector:
    user: 'deploy'
    group: 'deploy'
  backdrop-ga-realtime-collector:
    user: 'deploy'
    group: 'deploy'
  backdrop-pingdom-collector:
    user: 'deploy'
    group: 'deploy'

python::version:    '2.7'
python::dev:        true
python::virtualenv: true
python::pip:        true

backdrop::user: 'deploy'
backdrop::group: 'deploy'
backdrop::pip_cache_path: '/var/cache/pip-download-cache'

ufw_rules:
  allowhttp:
    port: 80
    ip:   'any'

ruby_packages:
  - curb
  - json

Add postgres client library and header files
Add postgres client library and header files

Required for building the postgres python client, psycopg2.
