I had a look at the Zabbix module. I think it works there as the dependency is in the provider rather than in the type. Having thought about some more I think it's easier to just remove the dependency on that module.
On Tuesday, 12 July 2016 00:07:43 UTC+1, Rob Nelson wrote: > > I don't know the specifics of how it works, but the puppet/zabbix module > has a type that relies on the zabbixapi which it also provides. You may > want to review that module to see how the package and type are implemented > in detail. > > On Monday, July 11, 2016, <apgrif...@gmail.com <javascript:>> wrote: > >> Hi, >> >> I have created a custom type which uses the ipaddress rubygem in the >> validation function. However, this package is not part of my standard build >> and I can find no way of installing it from Puppet as the catalog >> compilation fails with "Could not autoload *type*". >> >> Is there anyway to manage this type of dependency within Puppet, or >> should I look to do it outside? >> >> Puppet version: 3.6 >> >> Thanks, >> >> Alan >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to puppet-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/puppet-users/845debad-5c81-41b8-b3c9-a1a1405ef3b5%40googlegroups.com >> >> <https://groups.google.com/d/msgid/puppet-users/845debad-5c81-41b8-b3c9-a1a1405ef3b5%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > > Rob Nelson > rnel...@gmail.com <javascript:> > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/ff193af2-9a75-4930-afca-ce2ca87779b4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.