On 2019-01-30 01:16, Ben Ford wrote:
Your simplest and most straightforward upgrade path would be to port the
CSV file to a common.yaml file and then switch to using lookup() with
hieradata. Later on, you can start differentiating and build a sane data
hierarchy.
Check out the docs at https://puppet.com/docs/puppet/latest/hiera_quick.html
If you really must keep the CSV format, you can write your own function
that you use with hiera 5. It is quite simple. I show examples and
explain how hiera 5 works in this video:
https://www.slideshare.net/PuppetLabs/puppetconf-2017-hiera-5-the-full-data-enchilada-hendrik-lindberg-puppet
You may want to watch that even if you convert your data to yaml.
Best,
- henrik
On Tue, Jan 29, 2019 at 2:45 PM Robert Inder <rob...@interactive.co.uk
<mailto:rob...@interactive.co.uk>> wrote:
I'm looking at the possibility of moving our Puppet manifests from
3.8 to Something More Recent (i.e. 6.1)
We have one big CSV file for (mostly) encrypted passwords and the like.
And our existing manifests use extlookup to extract the relevant
entries, via calls like pw =
How should I replace this?
Can someone point me at an example of the simplest possible external
lookup?
Robert.
--
You received this message because you are subscribed to the Google
Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to puppet-users+unsubscr...@googlegroups.com
<mailto:puppet-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/7d2122c0-72bf-467f-a7d0-cdac4617504b%40googlegroups.com
<https://groups.google.com/d/msgid/puppet-users/7d2122c0-72bf-467f-a7d0-cdac4617504b%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google
Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to puppet-users+unsubscr...@googlegroups.com
<mailto:puppet-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/CACkW_L6ciVd_FGU7x6Sg%3D-TVpy_rhk1fTW6da31nLNv9XCjNFQ%40mail.gmail.com
<https://groups.google.com/d/msgid/puppet-users/CACkW_L6ciVd_FGU7x6Sg%3D-TVpy_rhk1fTW6da31nLNv9XCjNFQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/q2ul07%246l6o%241%40blaine.gmane.org.
For more options, visit https://groups.google.com/d/optout.