For files that are located on the puppetmaster (and readable to the
master process), you can use a function.

http://docs.puppetlabs.com/references/stable/function.html#file

$my_variable = file("/data/stuff/cool_file")

HTH,
Felix

On 06/24/2014 02:30 PM, Ankita kumari wrote:
> 
> I want to put the content of .txt file in the manifest as variable

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/53A970D9.5020703%40alumni.tu-berlin.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to