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
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']
|
||||
|
||||
# Set some defaults
|
||||
$config[:redis] ||= Hash.new
|
||||
$config[:redis]['server'] ||= 'localhost'
|
||||
|
||||
# Connect to Redis
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue