On Wed, 05 Mar 2014 06:41:45 -0800 wrote kaustubh chaudhari:

> One of my application requires me to copy a config file after
> installation the application. This needs to be done only once after
> installation
> 
> However this config file is managed by a central server and keeps on
> getting updated every day, which means puppet will overwrite the updated
> file every day.
> Which is a problem.

if the config file does not exist, you can use the "replace" parameter of 
the file type. 

http://docs.puppetlabs.com/references/latest/type.html#file-attribute-
replace


- Thomas

-- 
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/lf7eb3%24ns4%241%40ger.gmane.org.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to