After doing some Google digging, I saw that there were a couple urls like
this:

http://puppet:8140/production/status/default

Now this doesn't work on mine, but I think it is because the url format is
not correct. If I wanted to get a file from puppet:///<module>/file, what
would I have to do?

Roshan

On Mon, May 3, 2010 at 11:29 AM, Roshan Punnoose <rosh...@gmail.com> wrote:

> Is there a quick doc on the package providers I can start at?
>
> Also, I'm willing to read ruby code if need be, and I like the REST API.
> Where in the code is this implemented? (At least where the REST urls are
> exposed) I'll look through the code.
>
> Roshan
>
>
> On Mon, May 3, 2010 at 11:19 AM, Luke Kanies <l...@puppetlabs.com> wrote:
>
>> On May 3, 2010, at 7:47 AM, Roshan wrote:
>>
>>  Hi,
>>>
>>> I would like to write a Java module to interact with the Puppet URI.
>>> Is this possible? My goal is to be able to install Java modules in
>>> OSGi through puppet.
>>>
>>
>> I'm not sure that Puppet's URI is necessary for this - you should just be
>> able to create a package provider.
>>
>> But the short answer is yes, all of the Puppet services can be interacted
>> with via a RESTful API.  That API is unfortunately not terribly well
>> documented, but we're working on it.
>>
>> I'd look at the package providers first, though.
>>
>> --
>> SELF-EVIDENT, adj. Evident to one's self and to nobody else.
>>    -- Ambrose Bierce
>>
>> ---------------------------------------------------------------------
>> Luke Kanies  -|-   http://puppetlabs.com   -|-   +1(615)594-8199
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Puppet Users" group.
>> To post to this group, send email to puppet-us...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/puppet-users?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.

Reply via email to