Issue #1825 has been reported by jbq.
----------------------------------------
Bug #1825: Cannot create symlink with file type when links => follow is set
http://projects.reductivelabs.com/issues/show/1825
Author: jbq
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Complexity: Unknown
Affected version: 0.24.6
Keywords:
I have trouble creating symlinks with the following recipe:
<pre>
# Default behaviour for file type:
# Do not copy symlinks as-is, copy the target
File {
links => follow
}
file { "/usr/share/tonio/app/pre":
ensure => "/var/www/tonio.com/pre"
}
notice: Ignoring cache
info: Caching catalog at /var/lib/puppet/state/localconfig.yaml
notice: Starting catalog run
notice:
//Node[nc_webserver]/webserver/web_server/File[/usr/share/tonio/app/pre]:
Recursively backing up to filebucket
notice:
//Node[nc_webserver]/webserver/web_server/File[/usr/share/tonio/app/pre]: Not
removing directory; use 'force' to override
notice:
//Node[nc_webserver]/webserver/web_server/File[/usr/share/tonio/app/pre]:
Recursively backing up to filebucket
notice:
//Node[nc_webserver]/webserver/web_server/File[/usr/share/tonio/app/pre]: Not
removing directory; use 'force' to override
err:
//Node[nc_webserver]/webserver/web_server/File[/usr/share/tonio/app/pre]/ensure:
change from directory to link failed: Could not remove existing file
</pre>
I guess Puppet does not like when I combine "links => follow" with creating a
symlink with ensure. Follow should be ignored in this case.
----------------------------------------
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://reductivelabs.com/redmine/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
-~----------~----~----~----~------~----~------~--~---