Issue #894 has been updated by jamtur01. Target version changed from unplanned to 0.24.4
---------------------------------------- Feature #894: err: Cannot currently copy links - "links => manage" fails http://reductivelabs.com/redmine/issues/show/894 Author: blueyoko Status: Closed Priority: Normal Assigned to: community Category: Target version: 0.24.4 Keywords: Complexity: Unknown Patch: None Affected version: Hi, I am running puppet v.0.23.2 on Debian etch with apache2. The apache2 directory is the standard debian apache2 directory with symlinks in directories like /etc/apache2/sites-enabled linking to /etc/apache2/sites-available like so: <pre> ls -lart modules/apache/files/example.com/apache2/sites-enabled/ lrwxrwxrwx 1 puppet puppet 49 2007-11-09 14:58 002-mine01.example.com -> ../sites-available/mine01.example.com. lrwxrwxrwx 1 puppet puppet 42 2007-11-09 14:58 001-example.com -> ../sites-available/example.com lrwxrwxrwx 1 puppet puppet 36 2007-11-09 14:58 000-default -> /etc/apache2/sites-available/default </pre> When I run this syntax in an apache module: <pre> file { "/etc/apache2": source => "puppet://puppet-master.example.com/www-au/apache2", recurse => true, owner => "root", group => "root", links => follow, } </pre> symlinks are created as files like you'd expect. when I use this(with an empty apache2 dir on the client): <pre> file { "/etc/apache2": source => "puppet://puppet-master.example.com/www-au/apache2", recurse => true, owner => "root", group => "root", links => manage, } </pre> I get this on the master for each file: <pre> err: Cannot currently copy links </pre> and this on the client for each file: <pre> err: //basenode/webserver/apache2/File[/etc/apache2/mods-available/headers.load]/source: Could not describe /www-au/apache2/mods-available/headers.load: Cannot currently copy links }} Using the http://reductivelabs.com/trac/puppet/wiki/StyleGuide#symlinks fixes this issue <pre> file { "/etc/apache2/mods-enabled/auth_basic.load": ensure => link, target => "/etc/apache2/mods-available/auth_basic.load", } </pre> but I was expecting the recursive copy to manage the symlinks. Happy to provide further detail if required. ---------------------------------------- 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 -~----------~----~----~----~------~----~------~--~---
