On Wednesday, March 5, 2014 3:41:45 PM UTC+1, kaustubh chaudhari wrote:
>
> Hi All,
>
> 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.
>
> How can i configure puppet to ignore changes to this file. Is there a way 
> to do this ?
>
>
http://docs.puppetlabs.com/references/3.stable/type.html#file-attribute-replace

"Whether to replace a file or symlink that already exists on the local 
system but whose content doesn’t match what the source or content attribute 
specifies. Setting this to false allows file resources to initialize files 
without overwriting future changes. Note that this only affects content; 
Puppet will still manage ownership and permissions. Defaults to true.

Valid values are true, false, yes, no"

-- 
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/231aae69-f70c-43a6-b342-40b33fdf55ca%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to