Issue #6808 has been updated by Nigel Kersten.

Assignee changed from Nigel Kersten to Daniel Pittman


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

Author: Nigel Kersten
Status: Needs Decision
Priority: Low
Assignee: Daniel Pittman
Category: 
Target version: 2.6.x
Affected Puppet version: 
Keywords: 
Branch: 


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