Issue #15371 has been updated by Ashley Penney.

    root@arya:~/tests/puppet# mkdir /tmp/test
    root@arya:~/tests/puppet# chown apenney:apenney /tmp/test
    root@arya:~/tests/puppet# cat test.pp 
    file { '/tmp/test2':
    ensure => symlink,
    target => '/tmp/test',
    owner => 'root',
    group => 'root',
    }
    root@arya:~/tests/puppet# puppet apply test.pp
    /Stage[main]//File[/tmp/test2]/ensure: created
    Finished catalog run in 0.05 seconds
    drwxr-xr-x 2 apenney apenney 4096 Jul 26 13:55 /tmp/test
    lrwxrwxrwx 1 root    root       9 Jul 26 13:55 /tmp/test2 -> /tmp/test

I tested this on 3.x and 2.7.18 and couldn't reproduce.  Can you give any more 
information that could help us track down, maybe and example from your 
manifests?
----------------------------------------
Bug #15371: Puppet sets owner on target of symlink, not on symlink
https://projects.puppetlabs.com/issues/15371#change-67723

Author: Bill Tong
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


If I create a symlink using puppet and specify an owner/group, puppet will set 
the owner on the target of the symlink, not on the symlink.


-- 
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