lib/facter/resolvers/aix/filesystem_resolver.rb in facter-4.0.46 vs lib/facter/resolvers/aix/filesystem_resolver.rb in facter-4.0.47
- old
+ new
@@ -12,10 +12,10 @@
def post_resolve(fact_name)
@fact_list.fetch(fact_name) { read_vtf_file(fact_name) }
end
def read_vtf_file(fact_name)
- file_content = Util::FileHelper.safe_readlines('/etc/vfs')
+ file_content = Facter::Util::FileHelper.safe_readlines('/etc/vfs')
return if file_content.empty?
file_content = file_content.map do |line|
next if line =~ /#|%/ # skip lines that are comments or defaultvfs line