Issue #2522 has been updated by Nick Lewis.

Status changed from Ready for Checkin to Closed

Pushed in 0a21e1b7510d32e391e6263814bad5cc70c5d6dd in master
----------------------------------------
Bug #2522: authorized_keys owner isn't verified/ensured
http://projects.puppetlabs.com/issues/2522

Author: Klavs Klavsen
Status: Closed
Priority: Normal
Assigned to: Markus Roberts
Category: ssh
Target version: 2.6
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