Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Facter - Read multiline output from linux command

Dear All,

I am very new to puppet and facter and I am trying to create a custom fact, is it possible to store the entire output of a command (example cat /etc/fstab) in a fact?

Can someone provide an example since my attempts only tore the first line of output.