Issue #4932 has been updated by Markus Roberts. Status changed from Unreviewed to Investigating Assignee set to Markus Roberts
---------------------------------------- Bug #4932: file resource links => manage confusion http://projects.puppetlabs.com/issues/4932 Author: Steve Feehan Status: Investigating Priority: Normal Assignee: Markus Roberts Category: Target version: Affected version: 2.6.1 Keywords: Branch: I'm not sure if this is a bug. My reading of the documentation leaves room for a bit of confusion. This example: <pre> $ mkdir /tmp/src $ mkdir /tmp/src/dir $ ln -sf dir /tmp/src/link </pre> <pre> file { "/tmp/dst": source => "file:///tmp/src", links => manage, recurse => remote, force => true, } </pre> Produces the following error: <pre> $ puppet recurse.pp notice: /Stage[main]//File[/tmp/dst]/ensure: created notice: /File[/tmp/dst/dir]/ensure: created err: /File[/tmp/dst/link]: Could not evaluate: Got nil value for content $ </pre> The documentation says: <pre> You cannot currently copy links using this mechanism; set links to follow if any remote sources are links. </pre> But I'm not sure to what "mechanism" applies? If it applies to remote sources, then I'm not sure I understand the utility of "links => manage"? Does this mean you can't "manage" links for any copy? Only for non-copy file management? If this is not a bug and my understanding of the documentation is correct, then I think the ticket should be a feature request. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
