Issue #14531 has been updated by Stefan Schulte.

Assignee set to Stefan Schulte

Whould have changed status to "investigating" but I'm not allow to do that. 
I'll try to find out why puppet is behaving strange here.
----------------------------------------
Bug #14531: Puppet doesn't create symlinks when just using 'target => 
/path/to/file'
https://projects.puppetlabs.com/issues/14531#change-65254

Author: Jos Boumans
Status: Needs More Information
Priority: Normal
Assignee: Stefan Schulte
Category: 
Target version: 
Affected Puppet version: 2.6.16
Keywords: 
Branch: 


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.

Reply via email to