Ask Your Question

Revision history [back]

How do I get the contents of a file on the PuppetMaster ?

The file function dumps the contents of a file on the client/agent into a variable. Is there a less ugly way to do it for a file on the puppet master than this:

foo => generate ("/bin/cat","/full/path/to/the/file/wanted"),