Sha256: 0d28cc5472f4829cfaa07deb563031f3bfd778e53c984364525085d99f8ca4e7
Contents?: true
Size: 381 Bytes
Versions: 155
Compression:
Stored size: 381 Bytes
Contents
require File.join((File.expand_path(File.dirname(__FILE__))), 'repl_set_manager') class AuthReplSetManager < ReplSetManager def initialize(opts={}) super(opts) @key_path = opts[:key_path] || File.join(File.expand_path(File.dirname(__FILE__)), "keyfile.txt") system("chmod 600 #{@key_path}") end def start_cmd(n) super + " --keyFile #{@key_path}" end end
Version data entries
155 entries across 109 versions & 8 rubygems