mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
This commit fixes checking of a VM that has already been identified as ready. Without this change a ready VM that has failed will be identified as having failed, but will not successfully be removed from the ready queue. Additionally, the default vm_checktime value has been reduced from 15 to 1 to ensure that ready VMs are checked within one minute of the time they have reached the ready state by default. Lastly, the docker-compose files are updated to specify that the redis instance used is a local redis instance.
41 lines
645 B
YAML
41 lines
645 B
YAML
---
|
|
:providers:
|
|
:dummy:
|
|
|
|
:redis:
|
|
server: 'localhost'
|
|
|
|
:auth:
|
|
provider: dummy
|
|
|
|
:tagfilter:
|
|
url: '(.*)\/'
|
|
|
|
:config:
|
|
site_name: 'vmpooler'
|
|
# Need to change this on Windows
|
|
logfile: '/var/log/vmpooler.log'
|
|
task_limit: 10
|
|
timeout: 15
|
|
vm_checktime: 1
|
|
vm_lifetime: 12
|
|
vm_lifetime_auth: 24
|
|
allowed_tags:
|
|
- 'created_by'
|
|
- 'project'
|
|
domain: 'example.com'
|
|
prefix: 'poolvm-'
|
|
|
|
# Uncomment the lines below to suppress metrics to STDOUT
|
|
# :statsd:
|
|
# server: 'localhost'
|
|
# prefix: 'vmpooler'
|
|
# port: 8125
|
|
|
|
:pools:
|
|
- name: 'pool01'
|
|
size: 5
|
|
provider: dummy
|
|
- name: 'pool02'
|
|
size: 5
|
|
provider: dummy
|