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 load -- rubix at 
> /etc/puppet/modules/zabbix/manifests/init.pp:83 on node
>

the code looks like

  package { 'librubix-puppet-ruby1.8':
>     ensure    => installed
>   }
>
  zabbix_host { "${::fqdn}":
>     ensure   => present,
>     require  => Package['librubix-puppet-ruby1.8']
>   }
>

So it seems Puppet tries to execute zabbix_host before having the package 
librubix-puppet-ruby1.8 installed. 
Is it possible to get the package librubix-puppet-ruby1.8 installed before 
executing zabbix_host ?

Thank you.


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/8b6QBCyfQuUJ.
To post to this group, send email to puppet-users@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.

Reply via email to