pupeptserver is running it's own ruby by way of JRuby and
'/*opt/puppetlabs/puppet/bin/gem
install' *is puppet (the client) agent's ruby.

I'm pretty sure to install gems for pupetserver, you need to do it very
differently:
https://github.com/puppetlabs/puppetserver/blob/master/documentation/gems.markdown#installing-and-removing-gems

I hope I'm correct and I hope this helps.

James

On Wed, May 4, 2016 at 6:04 AM, Saurabh Agrahari <agrahari.saur...@gmail.com
> wrote:

> I keep getting error "Could not find a suitable provider for ec2_instance"
> while running a pp file to create ec2 instance from puppet Enterprise
> 2016.1 .
> Installed version are
> Ruby - ruby 1.9.3p484 (2013-11-22 revision 43786)
> puppet - 4.4.1
> puppetlabs-aws (v1.4.0)
>
> gem list --
> *** LOCAL GEMS ***
>
> aws-sdk-core (2.3.0)
> jmespath (1.2.4)
> json_pure (1.8.3)
> retries (0.0.5)
>
>
> I installed aws module using "*/opt/puppetlabs/puppet/bin# gem install
> aws-sdk-core retries*". as mentioned in read me.
> Everything seems correct configuration, still keep getting the same error.
> I followed the suggestions given in similar threads but it is not helping
> Please advise.
>
> --
> 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/b2f07466-b213-43d0-9ded-7dd46248b27b%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/b2f07466-b213-43d0-9ded-7dd46248b27b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAOsPUciFctXubOv6RnumA1w71hLbOxyr9V%3Dbq5Q4wFa_%3DnwLZQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to