mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
Fixup for undefined redis[server] config param
This commit is contained in:
parent
36e06cb731
commit
4414227fd4
1 changed files with 1 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ end
|
||||||
# Set some defaults
|
# Set some defaults
|
||||||
$config[:config]['task_limit'] ||= 10
|
$config[:config]['task_limit'] ||= 10
|
||||||
$config[:config]['vm_lifetime'] ||= 24
|
$config[:config]['vm_lifetime'] ||= 24
|
||||||
|
$config[:redis] ||= Hash.new
|
||||||
$config[:redis]['server'] ||= 'localhost'
|
$config[:redis]['server'] ||= 'localhost'
|
||||||
|
|
||||||
# Connect to Redis
|
# Connect to Redis
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue