| In the file " /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/facter/resolvers/os_release.rb" in the function " read_and_parse_os_release_file" the "pairs" variable is constructed with a very simple parse of the file. Suggested fix is to strip white space from either side of each line string, and discard lines that are either empty or start with a '#': content.map { | line | line.strip }.select { | line | ! line.start_with?('#') and line.size > 0 }.each do |line| pairs << line.strip.delete('"').split('=', 2) end (The vendor is Arista, and the issue happens trying to get puppet7 running on their devices). |