$hsflowd_port = hiera('hsflowd_port', '8080'),
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/L2PKd1u1QAgJ.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Sorry, your hiera config points to:
-'%{operatingsystem}'
- '%{platform}/%{location}/%{role}
- common role
But the facts you have are:
company_role
company_platform
company_location
So unless you have facts platform, location, and role defined they aren't going to match up. It's like the facts you've used below:
hiera -c /etc/puppet/hiera.yaml hsflowd_port platform=production location=frankfurt role=dev_tst
So role = dev_tst does not equal custom_role = dev_tst
-- you get what I mean?
Something like this might work:
-'%{operatingsystem}'
- %{custom_platform}/%{custom_location}/%{custom_role}
- '%{platform}/%{location}/%{role}'
See if that works,
Den
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/3rPfzeEvIMUJ.