I had two problems. Nigel and Daniel correctly identified one of them and Jonathan contacted me off-list to point out that I can't have my custom type living in a subdir of "lib/puppet/type". I moved haddock.rb from lib/puppet/type/haddock/haddock.rb to lib/puppet/type/haddock.rb, created a symlink to the production environment, and it works!
Thanks, everyone. -Ben On Tue, Jun 15, 2010 at 2:27 PM, Ben Beuchler <ins...@gmail.com> wrote: >>> A quick look in $libdir (/var/lib/puppet/lib) shows my custom types are >>> there. >> >> Sorry, I wasn't quite clear. You need to make this accessible to the >> libdir on the *server*. >> >> So whatever your puppetmasterd libdir is, you need to somehow ensure >> the types/providers are there. We do it with symlinks. > > Perhaps we mean different things by "libdir"? > > insyte$ /usr/sbin/puppetmasterd --genconfig | egrep '^ +libdir' > libdir = /var/lib/puppet/lib > > The types/providers are definitely be sync'd into that directory. I > can't find any reference to any other libdir. > > In my fileserver.conf, I don't have a path in the [plugins] section, > as all of my plugins are in modules. > > My original understanding was that the type had to be available in the > default environment. To that end, I copied my custom type into the > "modules/custom/lib/puppet/{type,provider}" dir of the production > environment. Still no dice. > > -Ben > -- 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.