mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
Merge pull request #257 from mattkirby/redis_port_password
Add support for setting redis port and password
This commit is contained in:
commit
c77e0c4c65
2 changed files with 6 additions and 4 deletions
|
|
@ -86,8 +86,8 @@ module Vmpooler
|
|||
parsed_config
|
||||
end
|
||||
|
||||
def self.new_redis(host = 'localhost')
|
||||
Redis.new(host: host)
|
||||
def self.new_redis(host = 'localhost', port = nil, password = nil)
|
||||
Redis.new(host: host, port: port, password: password)
|
||||
end
|
||||
|
||||
def self.new_logger(logfile)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue