Issue #2076 has been updated by luke. Assigned to deleted (luke)
I actually don't see how the keys could be the problem -- the 'controllable?' method could only be called in the service, so the problem here is that somehow you couldn't make the provider, or maybe couldn't read in the provider class, and I don't think the keys could affect that at all. I expect it was coincidence that made the key fix make this work. Can you provide specific ways to reproduce? ---------------------------------------- Bug #2076: Key conflict error message is unhelpful http://projects.reductivelabs.com/issues/2076 Author: pete Status: Accepted Priority: Normal Assigned to: Category: ssh Target version: 0.24.8 Complexity: Unknown Affected version: 0.24.7 Keywords: I got stuck with this error message: <pre> err: Could not create sshd: undefined method `controllable?' for nil:NilClass warning: Not using cache on failed catalog warning: Configuration could not be instantiated: undefined method `controllable?' for nil:NilClass </pre> My manifest looked like this: My ssh manifest looks like this: <pre> file { "/etc/ssh/sshd_config": ensure => "present", owner => root, group => root, mode => 644, source => "puppet:///files/global/etc-ssh-sshd_config", checksum => "md5", backup => true } package { openssh-server: ensure => installed } service { "sshd": require => Package[openssh-server], subscribe => File["/etc/ssh/sshd_config"], ensure => 'running' } </pre> When I finally tracked it down, it turned out that I had conflicting puppet keys on the client. I believe that I had two sets of keys on there, both "valid" but with different names. I removed the keys and got new ones and resolved the problem. The error message that I got did not help resolve the problem. If a host has a key problem, it would be good to note that. Pete ---------------------------------------- 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 -~----------~----~----~----~------~----~------~--~---
