Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- name: "postgres"
- director_uuid: "XXXXXXXXXXXXX"
- releases:
- - name: postgres
- version: latest
- compilation:
- workers: 2
- network: default
- reuse_compilation_vms: true
- cloud_properties:
- instance_type: m1.small
- update:
- canaries: 1
- max_in_flight: 1
- canary_watch_time: 30000-60000
- update_watch_time: 5000-60000
- serial: false
- resource_pools:
- - name: infrastructure
- network: default
- stemcell:
- name: bosh-openstack-kvm-ubuntu-trusty-go_agent
- version: latest
- cloud_properties:
- instance_type: m1.small
- networks:
- - name: floating
- type: vip
- cloud_properties:
- security_groups:
- - open
- - name: default
- type: dynamic
- cloud_properties:
- security_groups:
- - open
- jobs:
- - name: postgres
- templates:
- - { release: postgres, name: postgres }
- - { release: postgres, name: pgpool }
- instances: 3
- persistent_disk: 1024
- resource_pool: infrastructure
- networks:
- - name: default
- default: [dns, gateway]
- - name: floating
- static_ips:
- - 172.21.42.167
- - 172.21.42.170
- - 172.21.42.171
- properties:
- postgres:
- config:
- port: 6432
- replication:
- enabled: true
- master:
- - 172.21.42.167
- pool:
- - 172.21.42.167
- - 172.21.42.170
- - 172.21.42.171
- pgpool:
- pool:
- - 172.21.42.167
- - 172.21.42.170
- - 172.21.42.171
- hba:
- - host all all 0.0.0.0/0 md5
- - host all all ::/0 md5
- pgpool:
- debug: true
- users:
- - username: porcupine
- password: quill
- - username: hedgehog
- password: frank
- - username: smoke-tests
- password: if-ya-got-em
- backend:
- hosts:
- - 172.21.42.167
- - 172.21.42.170
- - 172.21.42.171
- port: 6432
- config:
- port: 5432
- enable_pool_hba: on
- hba:
- - host all all 0.0.0.0/0 md5
- - host all all ::/0 md5
- pcp:
- system_password: secret
- - name: smoke-tests
- lifecycle: errand
- templates:
- - { release: postgres, name: smoke-tests }
- instances: 1
- persistent_disk: 0
- resource_pool: infrastructure
- networks:
- - name: default
- default: [dns, gateway]
- properties:
- postgres:
- smoke-tests:
- target:
- address: 172.21.42.167
- port: 5432
- username: smoke-tests
- password: if-ya-got-em
- backend:
- port: 6432
- cluster:
- master:
- - 172.21.42.167
- slaves:
- - 172.21.42.167
- - 172.21.42.170
- - 172.21.42.171
- properties: {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement