Issue #2736 has been updated by Markus Roberts.
I've got a fix in the works. There are actually a number of interrelated issues here; target, basically, doesn't work with user and doesn't work quite right even without it. ---------------------------------------- Bug #2736: Ssh_authorized_key target changed? http://projects.reductivelabs.com/issues/2736 Author: Bart Verwilst Status: Needs more information Priority: Normal Assigned to: Category: ssh Target version: Affected version: 0.25.1rc2 Keywords: ssh_authorized_keys Branch: We have the following section in our manifest: <pre> ssh_authorized_key { "authkeypuppet": user => "puppet", key => "AAAAA", type => ssh-rsa, name => "w...@noc", ensure => present, require => User["puppet"], require => File["/var/lib/puppet/.ssh"], target => "/var/lib/puppet/.ssh/authorized_keys2" } </pre> With 0.24.8, all of this worked just fine. I upgraded puppetmaster to 0.25.1rc2, and everything was still fine ( with 0.24.8 clients ). As soon as I upgraded a client to 0.25.1rc2, i started getting these errors: <pre> r...@web344:~# puppetd --test info: Caching catalog for web344 info: Applying configuration version '1255956842' notice: //puppet::common/Ssh_authorized_key[authkeypuppet]/target: target changed '/var/lib/puppet/.ssh/authorized_keys' to '/var/lib/puppet/.ssh/authorized_keys2' info: Filebucket[/var/puppet/clientbucket]: Adding /var/lib/puppet/.ssh/authorized_keys2(54ef083d83589a3c5c3436c13dbfbbb3) err: Got an uncaught exception of type Errno::ENOENT: No such file or directory - /var/lib/puppet/.ssh/authorized_keys notice: Finished catalog run in 0.81 seconds </pre> /var/lib/puppet/.ssh/authorized_keys doesn't exist ( it never did ), we've always used /var/lib/puppet/.ssh/authorized_keys2 .. -- 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://reductivelabs.com/redmine/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 -~----------~----~----~----~------~----~------~--~---
