Issue #6856 has been updated by Charlie Sharpsteen.

Keywords set to  customer

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

* Author: Ben Hughes
* Status: Closed
* Priority: High
* Assignee: 
* Category: file
* Target version: 2.6.8
* Affected Puppet version: 2.6.0
* Keywords:  customer
* 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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to