Re: [Puppet-dev] Calling third party api using puppet

2015-04-23 Thread Michael Smith
If your appliance doesn't have a module in the Forge, then creating a new one is the usual approach. The REST API would be accessed by a provider ( https://docs.puppetlabs.com/guides/custom_types.html) implemented in that module ( https://docs.puppetlabs.com/puppet/latest/reference/modules_fundamen

Re: [Puppet-dev] Calling third party api using puppet

2015-04-23 Thread varun umesh
Hi Michael- Thank you for your reply! Actually i meant the latter one. The reason why i am asking this question is that, I have an appliance which exposes RESTful API's and i want to leverage these API's using Puppet. Could you please let me know if there is any such capability? or how i coul

Re: [Puppet-dev] Calling third party api using puppet

2015-04-23 Thread Michael Smith
Can you clarify your question a bit? * Do you mean that in the context of developing types and providers (where you can use Ruby)? Ruby has facilities for calling REST APIs. * Do you mean does it have a pre-existing type for performing actions via REST APIs or getting resources by querying them? Th

[Puppet-dev] Calling third party api using puppet

2015-04-08 Thread varun umesh
Hello, Does puppet have the capability to make third party REST API calls? For example, just the way we do a REST API call using Java. Thanks! -varun -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and st