Issue #14531 has been updated by Moses Mendoza. Status changed from Merged - Pending Release to Closed Target version set to 2.7.19
Released in 2.7.19rc1. ---------------------------------------- Bug #14531: Puppet doesn't create symlinks when just using 'target => /path/to/file' https://projects.puppetlabs.com/issues/14531#change-68160 Author: Jos Boumans Status: Closed Priority: Normal Assignee: Category: file Target version: 2.7.19 Affected Puppet version: 2.6.16 Keywords: Branch: https://github.com/puppetlabs/puppet/pull/864 Consider the following code: $ ls -al /mnt/tmp/{x,test} ls: cannot access /mnt/tmp/test: No such file or directory -rw-r--r-- 1 jib users 3 May 4 23:35 /mnt/tmp/x $ cat z.pp file { '/mnt/tmp/test': target => '/mnt/tmp/x', } $ sudo puppet apply z.pp notice: /Stage[main]//File[/mnt/tmp/test]/ensure: created notice: Finished catalog run in 3.56 seconds $ ls -al /mnt/tmp/{x,test} ls: cannot access /mnt/tmp/test: No such file or directory -rw-r--r-- 1 jib users 3 May 4 23:35 /mnt/tmp/x Changing 'target' to 'ensure' works around the issue. -- 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.
