mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 18:08:42 -05:00
Fixup for undefined redis[server] config param
This commit is contained in:
parent
f607f60c50
commit
5b1f946a3b
1 changed files with 1 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ redis = $config[:redis]
|
||||||
$logger = Logger.new $config[:config]['logfile']
|
$logger = Logger.new $config[:config]['logfile']
|
||||||
|
|
||||||
# Set some defaults
|
# Set some defaults
|
||||||
|
$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