Issue #6856 has been updated by Nigel Kersten.

Status changed from Needs Decision to Accepted
Assignee deleted (Nigel Kersten)
Target version set to 2.6.x


----------------------------------------
Bug #6856: File{ links=> manage} doesn't work with dangling symlinks.
https://projects.puppetlabs.com/issues/6856

Author: Ben Hughes
Status: Accepted
Priority: High
Assignee: 
Category: file
Target version: 2.6.x
Affected Puppet version: 2.6.0
Keywords: 
Branch: 


Simple test case:

<pre>
mkdir /tmp/1 /tmp/2
( cd /tmp/1 ; ln -s ../README ./README )
puppet apply <<-EOF

file { "/tmp/2": 
  source => "/tmp/1", 
  recurse => true, 
  links => manage, 
} 
EOF
</pre>

Output:
<pre>
info: Applying configuration version '1300784868' 
err: /File[/tmp/2/README]: Could not evaluate: Got nil value for content 
notice: Finished catalog run in 0.02 seconds
</pre>

Worked with 0.25.5 so a regression.


-- 
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.

Reply via email to