Issue #2522 has been updated by Matt Robinson.

Status changed from Accepted to Ready for Checkin
Assigned to changed from Matt Robinson to Markus Roberts
Target version changed from queued to Rowlf
Branch set to 
http://github.com/mmrobins/puppet/tree/bug/master/2522-authorized_keys_owner_ensure

Verified the bug existed, fixed it, and tested that the fixed worked with a 
test puppet manifest.  Jesse paired on this.
----------------------------------------
Bug #2522: authorized_keys owner isn't verified/ensured
http://projects.puppetlabs.com/issues/2522

Author: Klavs Klavsen
Status: Ready for Checkin
Priority: Normal
Assigned to: Markus Roberts
Category: ssh
Target version: Rowlf
Affected version: 0.24.8
Keywords: 
Branch: 
http://github.com/mmrobins/puppet/tree/bug/master/2522-authorized_keys_owner_ensure


When puppet creates an authorized_keys file using this config:
        ssh_authorized_key {"auto...@local":
                ensure => present,
                type   => rsa,
                target => "/home/system/autocmd/.ssh/authorized_keys",
                key    => "A...=",
                user   => "autocmd",
                require => File["/home/system/autocmd/.ssh"]
        }

it creates it with the file owned by the user autocmd.

if I chmod that file to be owned by root - puppet does not change the owner 
back on next run (or the next...)



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