On Tue, Feb 14, 2012 at 06:54, jcbollinger <john.bollin...@stjude.org> wrote: > On Feb 13, 4:58 pm, Daniel Pittman <dan...@puppetlabs.com> wrote: >> >> We recently found some issues with the `links => follow` setting in >> recursive file copying; the designed behaviour is that it should allow >> you to determine if the master serves a symlink in a module as a >> symlink, or as the content of the file that the symlink points to. >> >> The full details are here:https://projects.puppetlabs.com/issues/12418 >> >> The short version is that toggling that value doesn't work right - it >> won't notice changes from "don't follow" to "follow". >> >> Our general feeling is that putting a symlink in a module, and >> expecting the same symlink to be created on the agent, is a bad >> strategy. It depends heavily on a whole lot of complex things, adds >> substantial complexity to the file serving code, and won't work on all >> platforms in a sensible fashion. > > There seems to be considerable confusion, or at least imprecision, in > the description of the issue here, in the discussion in the bug > database, and in the survey. As I understand it, the issue is not > with "putting a symlink in a module" but rather with recursively > managing a directory tree that contains symlinks. Modules appear to > have nothing to do with it -- it's all about the behavior of the File > resource type.
That is more or less true; modules are relatively unrelated to this, although part of the motivation is understanding how to make things more predictable so we have less headache getting reusable modules built up. It shouldn't require recursive file copying for this to take effect, I think, but the uncertainty is part of the motivation here. Thanks for the feedback; we did look that content over before we released it, but we will try and put more effort into pre-testing the explanation before we release it to the wild in future. -- Daniel Pittman ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.