david.hartog@struq.com
2013-Mar-05 11:53 UTC
[Puppet Users] Puppet to copy file instead of symlink
hi, I want to have puppet copy a file, but I can only reference the file within the puppet configuration from the symlink. Have tried file => true and other options but puppet only copies the symlink. Is this possible? many thanks, David. -- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Calvin Walton
2013-Mar-05 19:29 UTC
Re: [Puppet Users] Puppet to copy file instead of symlink
On Tue, 2013-03-05 at 03:53 -0800, david.hartog@struq.com wrote:> hi, > I want to have puppet copy a file, but I can only reference the file within > the puppet configuration from the symlink. Have tried file => true and > other options but puppet only copies the symlink. Is this possible? > many thanks, > David.When you read the fine documentation located at: http://docs.puppetlabs.com/references/latest/type.html#file You will note that there is a "links" parameter on the file resource that can be used to set the behaviour with regards to symlinks. -- Calvin Walton <calvin.walton@kepstin.ca> -- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.