We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0513ddc + 6eaf881 commit aa98389Copy full SHA for aa98389
lib/facter/es_facts.rb
@@ -50,6 +50,8 @@ def self.run
50
51
if File.readable?("#{dir_prefix}/elasticsearch.yml")
52
config_data = YAML.load_file("#{dir_prefix}/elasticsearch.yml")
53
+ return unless config_data
54
+
55
httpport, ssl = get_httpport(config_data)
56
end
57
0 commit comments