Closed
Description
Describe the Bug
When performing a Puppet agent run, the following is reported.
"Error while evaluating a Function Call, Undefined variable 'interfaces'"
The location described by the error refers to a line that runs the "has_ip_address" function. Previously this worked on PE 2021 and Puppet Agent 7.30.0
Expected Behavior
The function should check if an IP address is on the local server and return true or false.
Steps to Reproduce
puppet agent -t
Environment
"name": "puppetlabs-stdlib",
"version": "9.7.0",
"os": RedHat 7.9
"puppet enterprise": 2023.8.1
"puppet agent": 8.10.0
Additional Context
I'm guessing this is because the "interfaces" fact no longer exists, as confirmed by the "facter -p" command. OpenSource Puppet also refers to "interfaces" as a legacy fact - https://www.puppet.com/docs/puppet/7/core_facts.htm
Metadata
Metadata
Assignees
Labels
No labels