Hello, I am using a custom provider that uses an external gem, for eg., json. I am seeing this behavior:
1) In the first puppet run - errors would be thrown like : "err: Could not load downloaded file /var/lib/puppet/lib/puppet/provider/custom_provider/json.rb: no such file to load -- json" *However*, the catalog compiles and works eventually. Perhaps because I do have a puppet module which installs json lib before the module which uses the custom provider is executed. 2) If however, there was some other error in the first run, say a syntax error somewhere, and then you try the puppet run, it simply doesn't retrieve the catalog with an error like: "Could not autoload sensu_client_config: Could not autoload /var/lib/puppet/lib/puppet/provider/custom_provider/json.rb: no such file to load -- json" If this is not a bug (not sure how much this is related to http://projects.puppetlabs.com/issues/6907 ), then what is the suggested solution for handling gem dependencies in providers/types ? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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.