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, <apgriffith...@gmail.com> 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 > <javascript:_e(%7B%7D,'cvml','puppet-users%2bunsubscr...@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 rnels...@gmail.com -- 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/CAC76iT-BqLZ5%2B%3DRJfoVzrJ%2BsY7P7Bj13j4MSkxRtt447jacFfA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.