Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 6.x
- Module version: 8.0.0
How to reproduce (e.g Puppet code you use)
Set your config for network.host to _site_.
What are you seeing
The fact generation is hardcoded to reach the API on localhost, which won't work when you're using _site_ configuration to allow for discovery and clustering because it'll (likely) be running on an IP address that's not locally bound.