-
Notifications
You must be signed in to change notification settings - Fork 12
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
enc.rb: Replace fqdn->networking.fqdn fact #54
base: master
Are you sure you want to change the base?
Conversation
(I haven't tested this locally) |
Co-authored-by: Ewoud Kohl van Wijngaarden <[email protected]>
I'm guessing test failures are related |
I'm not 100% sure where spec/static_fixtures/fake.host.fqdn.com.yaml is coming from. It's a Puppet::Node::Facts object. Is that the kind of facts the puppetserver stored a decade ago? On modern systems you just have |
There is still code to load data from nodes so perhaps it's worth digging into when that was removed: puppet-puppetserver_foreman/files/enc.rb Lines 190 to 201 in 1c58844
|
https://www.puppet.com/docs/pe/2023.0/osp/server/release_notes.html#puppet-server-700 puppetserver 7 switched the default facts terminus from yaml to json. |
Followup for #53 (review)