Skip to content
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

Hiera can't interpolate facts #777

Open
russellshackleford opened this issue Dec 6, 2019 · 0 comments
Open

Hiera can't interpolate facts #777

russellshackleford opened this issue Dec 6, 2019 · 0 comments

Comments

@russellshackleford
Copy link
Contributor

russellshackleford commented Dec 6, 2019

This is a duplicate of #427 which was closed 2 years ago. There are valid use cases for interpolating facter values in hiera to keep a separation of code and data while using the real hiera data as that can test not just code, but data.

My particular use is:

# This assumes the DHCP server is also the PXE server
dhcpd::pxeserver: "%{::networking.ip}"

The fact that right now it is just an assumption is exactly why it is in hiera as opposed to just doing a fact lookup in the manifest.

@rodjek rodjek added this to the 2.8.x milestone Jan 7, 2020
@scotje scotje removed this from the 2.8.x milestone Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants