Skip to content

Parser Functions using legacy facts #1315

Closed
@smoeding

Description

@smoeding

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions