On Sep 10, 2009, at 6:48 AM, Justin Kinney wrote: > > I'm having trouble getting a simple custom type to work. > > Clients are giving me the following error: > "Could not retrieve catalog: Could not find resource type zypper_repo > at /etc/puppet/manifests/nodes/mgt.pp:33 on node <host.fqdn>" > > The custom type is present in the /var/lib/puppet/lib/puppet/type > directory on both clients and server (via pluginsync), but it's not > working. > > My node.pp, init.pp for the module, and custom type are listed below. > Any ideas?
Does the type compile? E.g., if you do 'ruby -rpuppet <file>', do you get an error? If you load that file directly in irb using 'load', can you retrieve the type with Puppet::Type.type(:...)? -- We cannot really love anybody with whom we never laugh. --Agnes Repplier --------------------------------------------------------------------- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---