Zabbix uses the zabbixapi gem, you can take a look at how it implements it
to be sure it's present before the type and provider is used. There's no
simple tutorial about how that's laid out but you can see the references at
https://github.com/voxpupuli/puppet-zabbix/search?utf8=%E2%9C%93&q=zabbixapi

On Sat, Dec 24, 2016 at 4:41 PM <bryan.st...@gmail.com> wrote:

> Hello All,
>
> I'm updating a module that will require a ruby gem (e.g. xml-simple) for
> one of the custom providers. How does Puppet make sure that the gem is
> available and installed when the module is installed? Does a *puppet
> module install* also install any dependent gems? How does it know which
> gems are needed to install? To where does Puppet install gems?
>
> Or is there something else that consumers of my module will need to do to
> ensure that the gems are available before they try to use the module's
> resources?
>
> I tried searching both this group and Puppet Users but didn't find much.
> May be the key-words aren't right.
>
> Anyway, any assistance would be appreciated.
>
> -Stopp
>
>
>
>
>
>
>
>
> --
>
>
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
>
>
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-dev+unsubscr...@googlegroups.com.
>
>
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-dev/67b2a7a4-4551-4ec8-9f3e-5e5d3383b425%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-dev/67b2a7a4-4551-4ec8-9f3e-5e5d3383b425%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
Rob Nelson

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/CAC76iT-T1DBPjMLsN2-Os8ZFvA%3D0VfDf9xm0_M2tKAb1%2B_2ZvQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to