Issue #2736 has been reported by Bart Verwilst.
----------------------------------------
Bug #2736: Ssh_authorized_key target changed?
http://projects.reductivelabs.com/issues/2736
Author: Bart Verwilst
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Affected version: 0.25.1rc2
Keywords:
Branch:
We have the following section in our manifest:
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"
}
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:
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
/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
-~----------~----~----~----~------~----~------~--~---