lib/facter/resolvers/aix/mountpoints.rb in facter-4.2.3 vs lib/facter/resolvers/aix/mountpoints.rb in facter-4.2.4
- old
+ new
@@ -17,10 +17,10 @@
def read_mount(fact_name)
@fact_list[:mountpoints] = {}
output = Facter::Core::Execution.execute('mount', logger: log)
output.split("\n").map do |line|
- next if line =~ /node|---|procfs|ahafs/
+ next if line =~ /\s+node\s+|---|procfs|ahafs/
elem = line.split("\s")
@fact_list[:mountpoints][elem[1]] = { device: elem[0], filesystem: elem[2],
options: elem.last.split(',') }