Describe the Bug
The two functions has_interface_with and fqdn_rotate do not work correctly when running the Puppet Agent with the --no-include_legacy_facts option that seems to be the default in Puppet 8.
has_interface_with uses lookupvar(interfaces) which is no longer available
fqdn_rotate calls lookupvar(::fqdn) which is also no longer available
Expected Behavior
Both functions should work as before.
Environment
- Version 7.24.0 with option
--no_include_legacy_facts
- Platform Debian-11
Describe the Bug
The two functions
has_interface_withandfqdn_rotatedo not work correctly when running the Puppet Agent with the--no-include_legacy_factsoption that seems to be the default in Puppet 8.has_interface_withuseslookupvar(interfaces)which is no longer availablefqdn_rotatecallslookupvar(::fqdn)which is also no longer availableExpected Behavior
Both functions should work as before.
Environment
--no_include_legacy_facts