Hi Raghu,

where do you use the require?
Within a Puppet function or within a Puppet provider?

Functions are running on the Puppet Server, whereas providers are executed on 
the agent.
If you do the require in a Puppet provider, the gem must be installed on the 
puppet agent (/opt/puppetlabs/puppet/bin/gem install).

hth,
Martin


> On 16. Jul 2021, at 09:13, Raghu Ram Baisani <baisaniraghu...@gmail.com> 
> wrote:
> 
> Hi Team
> 
> I have installed the gem azure-storage-blob on puppet master using below 
> command.
> 
> sudo puppetserver gem install azure-storage-blob
> 
> When I execute puppetserver gem list command, that particular gem is 
> available in the list.
> 
> <gem_list.PNG>
> I have restarted the puppet master couple of times post gem installation.
> when I say
> require 'azure/storage/blob'
> The files associated with the gem are not loading and getting below error.
> 
> `require': cannot load such file -- azure/storage/blob 
> 
> Can you please help me with steps to resolve the issue?
> 
> Thanks
> Raghuram Baisani
> 
> 
> -- 
> 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/e2d45c24-43c1-4531-ab4f-7b45a80ef14cn%40googlegroups.com.
> <gem_list.PNG>

-- 
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/D801D1D9-1D08-4F36-8137-CD624FD4895F%40gmail.com.

Reply via email to