The Type and Provider are both in the network module, which is in my module path. I've performed an 'include network' from the cluster class which is where I'm trying to use them. Just for grins, I also tried copying the entire lib/puppet structure from the network module to the cluster module so the custom type & provider information would be local to the cluster module. This didn't work either. What else should I check?
### From Server puppet.conf # cat /etc/puppet/puppet.conf [main] pluginsync = true ### From Client puppet.conf # cat /etc/puppet/puppet.conf [main] pluginsync = true ### The directory structure containing the custom type & provider /usr/share/puppet/environments/testing/modules/network/lib/puppet # tree -fi . ./provider ./provider/network_config ./provider/network_config/interfaces.rb ./provider/network_config/network_scripts.rb ./provider/network_interface ./provider/network_interface/ip.rb ./type ./type/network_config.rb ./type/network_interface.rb On Tue, May 17, 2011 at 12:53 AM, Patrick Mohr <kc7...@gmail.com> wrote: > > > On Mon, May 16, 2011 at 5:04 PM, Aaron Grewell <aaron.grew...@gmail.com>wrote: > >> Hi all, >> I'm trying to configure a set of network interfaces, so I downloaded the >> puppet-network module from the module forge. I enabled plugin sync per >> http://docs.puppetlabs.com/guides/plugins_in_modules.htm and added the >> module to my module path, but I'm getting an 'invalid resource type' error >> indicating that the custom type included in the module isn't found. Can you >> help me figure out what I've missed? >> >> Puppet: >> puppet --version >> 2.6.6 >> >> The error: >> err: Could not retrieve catalog from remote server: Error 400 on SERVER: >> Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid >> resource type network_config at >> /usr/share/puppet/environments/testing/modules/cluster/manifests/testcluster1.pp:35 >> >> >> > Basically, Puppet has two parts. The Type, which must be used during > catalog compiliation (usually done on the server), and on the client. The > provider uses your type to do all the useful stuff on the client. You're > probably getting this error because the server can't find the type when it > tries to compile the catalog. > > -- > 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. > -- 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.