I just connected a new host to my puppetmaster. The error that I get when I run puppetd in test mode is: 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 From my other machines, everything runs fine. When I comment out the "service" section of my ssh manifest file, everything is great. All machines are running identical hardware. My ssh manifest looks like this: 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'' } Can someone explain what this error message is, and perhaps tell me what might be wrong? Pete --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
I resolved this problem. I discovered that there was a key mismatch. I''m loving puppet, but the error messages are completely frustrating. Pete>--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Fri, Mar 06, 2009 at 04:07:24PM -0800, Pete Emerson wrote:> I resolved this problem. I discovered that there was a key mismatch. I''m > loving puppet, but the error messages are completely frustrating. > > PeteIf you''re finding that frustrating, you should probably submit a bug report to have a good error message added for that case. If it''s reproducible, then I think it would be good to fix it up so that others aren''t confused the way you were (and I would have been). Cheers, -- Eric Gerlach, Network Administrator Federation of Students University of Waterloo p: (519) 888-4567 x36329 e: egerlach@feds.uwaterloo.ca --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Mar 9, 2009, at 11:27 AM, Eric Gerlach wrote:> > On Fri, Mar 06, 2009 at 04:07:24PM -0800, Pete Emerson wrote: >> I resolved this problem. I discovered that there was a key >> mismatch. I''m >> loving puppet, but the error messages are completely frustrating. >> >> Pete > > If you''re finding that frustrating, you should probably submit a bug > report to > have a good error message added for that case. If it''s > reproducible, then I > think it would be good to fix it up so that others aren''t confused > the way you > were (and I would have been).I completely concur here - usability is terribly important to us, and fixing unclear error messages is a big part of that. -- Men will wrangle for religion; write for it; fight for it; die for it; anything but live for it. --Charles Caleb Colton --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---