> I had include ssh:auth in ssh/manifests/init.pp at first but that didn't > work. then I put it in my baseclass that is included in all nodes but > that wouldn't work and finally I added it to the node{} statement. I'm > a little confused because my ssh module is included on all machines in > the baseclass, isn't that enough for puppet? It seems a pain to have to > list it in every node{} rather than baseclass.
No, agreed that you shouldn't have to include it more than once. Try putting 'include ssh::auth' in the Puppet global scope, i.e. outside of all of your node definitions and class invocations in manifests/site.pp. The docs mention this requirement at http://www.reductivelabs.com/trac/puppet/wiki/Recipes/ModuleSSHAuth#detailed-usage , but looking at it now I see that it's probably not as clear as I thought. Sorry about that. I'll make it more explicit. All ssh::auth does is to define a bunch of classes and defines. If Puppet can't find them, then they're not in an enclosing scope to where you're using them. HTH, Andrew. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.