Issue #6809 has been reported by Nigel Kersten.
----------------------------------------
Bug #6809: Ignore "links => follow" when managing symlinks
https://projects.puppetlabs.com/issues/6809
Author: Nigel Kersten
Status: Accepted
Priority: Normal
Assignee:
Category:
Target version: 2.6.x
Affected Puppet version:
Keywords:
Branch:
It doesn't make sense to set "links => follow" inside a symlink resource. We're
not managing content, and you end up with edge cases like this:
<pre>
file { "/tmp/foo":
ensure => directory
}
file { "/tmp/bar":
ensure => "/tmp/foo",
links => follow
}
</pre>
<pre>
kripke:~ nbk$ puppet -v /tmp/test.pp
info: Applying configuration version '1300749546'
notice: /Stage[main]//File[/tmp/bar]/ensure: created
notice: /Stage[main]//File[/tmp/foo]/ensure: created
kripke:~ nbk$ puppet -v /tmp/test.pp
info: Applying configuration version '1300749548'
info: /Stage[main]//File[/tmp/bar]: Recursively backing up to filebucket
notice: /Stage[main]//File[/tmp/bar]: Not removing directory; use 'force' to
override
info: /Stage[main]//File[/tmp/bar]: Recursively backing up to filebucket
notice: /Stage[main]//File[/tmp/bar]: Not removing directory; use 'force' to
override
err: /Stage[main]//File[/tmp/bar]/ensure: change from directory to link failed:
Could not remove existing file
</pre>
--
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.