Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(FACT-2809) Fixed output differences on solaris #2116

Merged
merged 1 commit into from
Oct 9, 2020

Conversation

sebastian-miclea
Copy link
Contributor

After running the tests that compares output between Facter3 and Facter4 we've noticed some differences.
The differences were in: mountpoints (some were skipped), zones (count) and mtu.

@sebastian-miclea sebastian-miclea added the bug Something isn't working label Oct 1, 2020
@sebastian-miclea sebastian-miclea requested review from a team October 1, 2020 16:12
@sebastian-miclea
Copy link
Contributor Author

Jenkins please test this on all

@puppetcla
Copy link

CLA signed by all contributors.

mounts << Hash[FilesystemHelper::MOUNT_KEYS.zip(FilesystemHelper::MOUNT_KEYS
.map { |v| binding.local_variable_get(v) })]
end
@fact_list[:mountpoints] = mounts
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should return @fact_list[fact_name]

device
end

def read_mounts # rubocop:disable Metrics/AbcSize
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should split this method to avoid disabling rubocop

@sebastian-miclea sebastian-miclea force-pushed the FACT-2809 branch 2 times, most recently from 00f25df to 1ea61d5 Compare October 8, 2020 15:47
@Filipovici-Andrei Filipovici-Andrei merged commit 2bb3c88 into puppetlabs:main Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants