Re: [Puppet Users] Puppet Agent Gem Install

2020-10-23 Thread Martin Alfke
Hi Tony,

yes, restarting puppetserver is required once you install a puppetserver gem.

Good to know that it is working.

Happy puppetizing,
Martin



> On 21. Oct 2020, at 18:44, Tony Wu  wrote:
> 
> Hi Martin,
> 
> Got it to work, it was indeed server side as you stated. Perhaps I just 
> forgot to restart it? I have no idea.
> 
> Much appreciated for your reply.
> 
> Take care,
> 
> Tony Wu
> 
>> On Oct 21, 2020, at 8:31 AM, Tony Wu > > wrote:
>> 
>> I did that too, but that still didn’t work. Let me double check again.
>> 
>> Best,
>> 
>> Tony Wu
>> 
>>> On Oct 20, 2020, at 10:51 PM, Martin Alfke >> > wrote:
>>> 
>>> Hi Tony,
>>> 
>>> puppet functions are executed on the puppet server.
>>> You need to install the gem within the puppet server
>>> 
>>> puppetserver gem install my gem
>>> 
>>> Hth,
>>> Martin
>>> 
>>> 
 On 20. Oct 2020, at 21:37, Tony Wu >>> > wrote:
 
 Hi,
 
 I have a agent side function that requires a gem, so I did:
 
 /opt/puppetlabs/puppet/bin/gem install my_gem
 
 If I do list, it shows the gem as being installed, but when invoking the 
 function it can't find it. Any suggestion?
 
 Thanks very much.
 
 -- 
 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/6b114e8d-8147-42d5-85a4-aa0ad381de25n%40googlegroups.com
  
 .
>>> 
>>> 
>>> -- 
>>> 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/14FED81F-75D7-4A60-B1DF-27FE8CC1D10C%40gmail.com
>>>  
>>> .
>> 
> 
> 
> -- 
> 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/9918480A-E045-4C00-92C2-B690ED1E3331%40gmail.com
>  
> .

-- 
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/4FF0AA96-15A4-47F5-A53F-E3FABD176480%40gmail.com.


Re: [Puppet Users] Puppet Agent Gem Install

2020-10-21 Thread Tony Wu
Hi Martin,

Got it to work, it was indeed server side as you stated. Perhaps I just forgot 
to restart it? I have no idea.

Much appreciated for your reply.

Take care,

Tony Wu

> On Oct 21, 2020, at 8:31 AM, Tony Wu  wrote:
> 
> I did that too, but that still didn’t work. Let me double check again.
> 
> Best,
> 
> Tony Wu
> 
>> On Oct 20, 2020, at 10:51 PM, Martin Alfke > > wrote:
>> 
>> Hi Tony,
>> 
>> puppet functions are executed on the puppet server.
>> You need to install the gem within the puppet server
>> 
>> puppetserver gem install my gem
>> 
>> Hth,
>> Martin
>> 
>> 
>>> On 20. Oct 2020, at 21:37, Tony Wu >> > wrote:
>>> 
>>> Hi,
>>> 
>>> I have a agent side function that requires a gem, so I did:
>>> 
>>> /opt/puppetlabs/puppet/bin/gem install my_gem
>>> 
>>> If I do list, it shows the gem as being installed, but when invoking the 
>>> function it can't find it. Any suggestion?
>>> 
>>> Thanks very much.
>>> 
>>> -- 
>>> 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/6b114e8d-8147-42d5-85a4-aa0ad381de25n%40googlegroups.com
>>>  
>>> .
>> 
>> 
>> -- 
>> 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/14FED81F-75D7-4A60-B1DF-27FE8CC1D10C%40gmail.com
>>  
>> .
> 

-- 
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/9918480A-E045-4C00-92C2-B690ED1E3331%40gmail.com.


Re: [Puppet Users] Puppet Agent Gem Install

2020-10-21 Thread Tony Wu
I did that too, but that still didn’t work. Let me double check again.

Best,

Tony Wu

> On Oct 20, 2020, at 10:51 PM, Martin Alfke  wrote:
> 
> Hi Tony,
> 
> puppet functions are executed on the puppet server.
> You need to install the gem within the puppet server
> 
> puppetserver gem install my gem
> 
> Hth,
> Martin
> 
> 
>> On 20. Oct 2020, at 21:37, Tony Wu > > wrote:
>> 
>> Hi,
>> 
>> I have a agent side function that requires a gem, so I did:
>> 
>> /opt/puppetlabs/puppet/bin/gem install my_gem
>> 
>> If I do list, it shows the gem as being installed, but when invoking the 
>> function it can't find it. Any suggestion?
>> 
>> Thanks very much.
>> 
>> -- 
>> 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/6b114e8d-8147-42d5-85a4-aa0ad381de25n%40googlegroups.com
>>  
>> .
> 
> 
> -- 
> 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/14FED81F-75D7-4A60-B1DF-27FE8CC1D10C%40gmail.com
>  
> .

-- 
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/607EF169-4FAF-460F-8FB2-94759F19E519%40gmail.com.


Re: [Puppet Users] Puppet Agent Gem Install

2020-10-20 Thread Martin Alfke
Hi Tony,

puppet functions are executed on the puppet server.
You need to install the gem within the puppet server

puppetserver gem install my gem

Hth,
Martin


> On 20. Oct 2020, at 21:37, Tony Wu  wrote:
> 
> Hi,
> 
> I have a agent side function that requires a gem, so I did:
> 
> /opt/puppetlabs/puppet/bin/gem install my_gem
> 
> If I do list, it shows the gem as being installed, but when invoking the 
> function it can't find it. Any suggestion?
> 
> Thanks very much.
> 
> -- 
> 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/6b114e8d-8147-42d5-85a4-aa0ad381de25n%40googlegroups.com
>  
> .

-- 
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/14FED81F-75D7-4A60-B1DF-27FE8CC1D10C%40gmail.com.