After agent upgrade to puppet-agent-7.8.0-1.aix7.1.ppc.rpm with facter 4.2, facter is producing "Could not resolve mountpoints" errors. This was not the case when using facter 3.14
* Please see Zendesk Support tab for further comments and attachments.
After agent upgrade to puppet-agent-7.8.0-1.aix7.1.ppc.rpm with facter 4.2, facter is producing "Could not resolve mountpoints" errors. This was not the case when using facter 3.14
How to reproduce the issue: Add the following data to facter fixtures :
{noformat} # spec/fixtures/mount
node mounted mounted over vfs date options -------- --------------- --------------- ------ ------------ --------------- /dev/hd1 / x July 26 19:04 rw,log=/dev/hd3 /dev/hd2 /usr x July 26 19:04 rw,nodev,log=/dev/hd3
# spec/fixtures/df
Filesystem 512-blocks Used Available Capacity Mounted on /dev/hd1 1 1 1 1% / /dev/hd2 1 1 1 1% /usr
{noformat}
debug the tests: bundle exec rspec spec/facter/resolvers/aix/mountpoints_spec.rb
~* Please see Zendesk Support tab for further comments and attachments.~
Fixed faulty regex on AIX that would skip any lines that would have the substring `node` in them, resulting in the `Could not resolve mountpoints` error.(e.g If there would be a `nodev` option, the respective mountpoint would be skipped)