Issue #6808 has been updated by Adrien Thebo.

Status changed from In Topic Branch Pending Review to Merged - Pending Release
Target version set to 3.3.0

Merged into master in a74d122; this should be released in 3.3.0.

----------------------------------------
Bug #6808: Provide informative message when ensure => present, *and* managing 
content/source, and target is a symlink
https://projects.puppetlabs.com/issues/6808#change-93222

* Author: Nigel Kersten
* Status: Merged - Pending Release
* Priority: Low
* Assignee: Charlie Sharpsteen
* Category: file
* Target version: 3.3.0
* Affected Puppet version: 
* Keywords: links customer
* Branch: https://github.com/puppetlabs/puppet/pull/1716
----------------------------------------
<pre>
/tmp/foo -> /tmp/bar
</pre>

<pre>
file { "/tmp/foo":
  ensure  => present,
  content => "foo",
}
</pre>

When you run this, you get no indication that the content will not be written. 
This is because the existence of the symlink suffices for "ensure => present", 
and the content isn't evaluated.

This is almost certainly another indicator that we should be breaking the 
symlink type out into it's own type, separate from File, but in the meantime we 
should try to log *something* here if feasible.




-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to