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

server_facts: Switch from legacy to structured facts #127

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

bastelfreak
Copy link
Collaborator

structured facts are around since some years and the legacy facts are deprecated. The current releases causes a lot of Could not retrieve fact ipaddress warnings during CI run.

@bastelfreak bastelfreak self-assigned this Aug 3, 2024
@bastelfreak bastelfreak requested a review from a team as a code owner August 3, 2024 16:19
@bastelfreak
Copy link
Collaborator Author

I'm still testing this, but feedback is already welcome.

@bastelfreak
Copy link
Collaborator Author

voxpupuli/puppet-example#65 looks good to me

@pmcmaw
Copy link

pmcmaw commented Aug 9, 2024

Thank you @bastelfreak :-) Merging.

@pmcmaw pmcmaw merged commit 28072a3 into puppetlabs:main Aug 9, 2024
5 of 6 checks passed
@bastelfreak bastelfreak deleted the facts branch September 6, 2024 05:41
@ekohl
Copy link

ekohl commented Sep 13, 2024

Reading back on this, I'm wonder if we should revert this because it doesn't reflect reality. This code is to reflect what happens in puppetserver:
https://github.com/puppetlabs/puppetserver/blob/fd9f03b9f47ceaff5ae8fb58dfea7200e5cf16e3/src/ruby/puppetserver-lib/puppet/server/compiler.rb#L225-L266
As you can see, that still uses legacy facts.

@bastelfreak
Copy link
Collaborator Author

I think it makes more sense to update puppetserver: puppetlabs/puppetserver#2878

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants