On Fri, Jun 11, 2010 at 7:59 PM, Daniel Pittman <dan...@rimspace.net> wrote: > Ben Beuchler <ins...@gmail.com> writes: > >> I found myself unable to load/use a custom type I've been working on. To >> minimize the variables, I copy-n-pasted the "File" example from the >> documentation link below, just changing the name from "file" to "haddock" to >> avoid conflicting with the real File type. > > [...] > >> My puppet.conf is pasted below. Note that my client is running in the >> "development" environment. Any ideas what I might be doing wrong? > > You didn't read the bit (which, IIRC, isn't all that obvious) that explains > that custom types and plugins don't play very nicely with environments; you > are going to get the production stuff, not development stuff. > > I think the developers just committed a fix for that to a branch, ready for > testing, so you might want to troll the BTS and see about testing it in your > use case though. :) > > Daniel > -- > ✣ Daniel Pittman ✉ dan...@rimspace.net ☎ +61 401 155 707 > ♽ made with 100 percent post-consumer electrons > > -- > 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. > >
There are a bunch of workarounds for this though. A lot of the time you can get away with just a shell provider and type for manifest validation, as the client will get the right one synced down for use in actual resource application. I mean it's frustrating, but it's not impossible. I have enough of the types in my puppetmaster libdir to allow manifests to compile. It does mean you have to be careful when adding/removing parameters to your type though. -- nigel -- 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.