Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/facter/is_master.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def get_options_from_config(file)
if %w[mongo mongod].all? { |m| Facter::Util::Resolution.which m }
file = mongod_conf_file
if file
options = get_config_options(file)
options = get_options_from_config(file)
e = File.exist?('/root/.mongorc.js') ? 'load(\'/root/.mongorc.js\'); ' : ''

# Check if the mongodb server is responding:
Expand Down