lib/facter/resolvers/aix/partitions.rb in facter-4.2.3 vs lib/facter/resolvers/aix/partitions.rb in facter-4.2.4
- old
+ new
@@ -38,10 +38,10 @@
def populate_from_lslv(name)
stdout = Facter::Core::Execution.execute("lslv -L #{name}", logger: log)
return if stdout.empty?
- info_hash = Facter::Util::Aix::InfoExtractor.extract(stdout, /PPs:|PP SIZE|TYPE:|LABEL:|MOUNT/)
+ info_hash = Facter::Util::Aix::InfoExtractor.extract(stdout, :lslv)
size_bytes = compute_size(info_hash)
part_info = {
filesystem: info_hash['TYPE'],
size_bytes: size_bytes,