Hello!
I have a custom function which requires a ruby gem which I have in my
deb-repository.
If the package is installed beforehand manually the function works well.
But if I want to install the package with puppet I get the following error:
out: Could not autoload zabbix_host: no such file to
Hi
See inline:
On 21/08/2012, at 23:14, "Sergey V. Arlashin" wrote:
> Hello!
> I have a custom function which requires a ruby gem which I have in my
> deb-repository.
> If the package is installed beforehand manually the function works well. But
> if I want to install the package with puppet
> Where is rubix declared?
modules/zabbix/lib/puppet/type/zabbix_host.rb:
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), 'rubix/lib')
require 'rubix'
require 'facter'
Puppet::Type.newtype(:zabbix_host) do
@doc = "Manages zabbix hosts"
self.debug "// Blah"
ensurable
newparam(:n
Hi,
Righto, not sure that load path is correct, if it is can you successfully load
the rubix gem using ruby's irb?
Den
On 22/08/2012, at 23:58, "Sergey V. Arlashin" wrote:
>> Where is rubix declared?
>
>
> modules/zabbix/lib/puppet/type/zabbix_host.rb:
>
> $LOAD_PATH.unshift File.join(File