Ask Your Question

csv header support

asked 2015-12-21 17:54:24 -0600

bess gravatar image


I'm writing a Puppet module that will read data fields from a CSV file via the extlookup fuction (using Puppet 3.6.2) and I have a request to write and CSV file using the first line as the header.

Does extlookup support this? How do I pass that along to extlookup?

I understand extlookup is deprecated in Puppet 4.x and Heira is a better solution but I have to use CSV files.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-01-03 03:33:27 -0600

updated 2016-01-03 03:34:16 -0600

The requirement to have your data in CSV format seems rather arbitrary, and if it were me, I would be questioning that one strongly. However, rather than extlookup, have you considered instead writing a custom Hiera backend that will read from your CSV files? See here for instance.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-12-21 17:54:24 -0600

Seen: 156 times

Last updated: Jan 03 '16