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. Thanks Roshan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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 <luke@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-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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 <roshanp@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 <luke@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-users@googlegroups.com. >> To unsubscribe from this group, send email to >> puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On May 3, 2010, at 11:22 AM, Roshan Punnoose wrote:> 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? > > RoshanI think the easiest way to find out more is to run puppet on a real webserver and log puppet''s requests. -Patrick -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Oh ok, is there a doc on how to run on another webserver? (Is this the Mongrel doc?) Roshan On Mon, May 3, 2010 at 2:28 PM, Patrick <kc7zzv@gmail.com> wrote:> > On May 3, 2010, at 11:22 AM, Roshan Punnoose wrote: > > 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 > > > I think the easiest way to find out more is to run puppet on a real > webserver and log puppet''s requests. > -Patrick > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Mon, May 3, 2010 at 11:33 AM, Roshan Punnoose <roshanp@gmail.com> wrote:> Oh ok, is there a doc on how to run on another webserver? (Is this the > Mongrel doc?)I simply set up ssldump to log all this. Then it doesn''t matter how you''re running the server, and you see all the extra header stuff puppet clients do.> > Roshan > > > On Mon, May 3, 2010 at 2:28 PM, Patrick <kc7zzv@gmail.com> wrote: > >> >> On May 3, 2010, at 11:22 AM, Roshan Punnoose wrote: >> >> 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 >> >> >> I think the easiest way to find out more is to run puppet on a real >> webserver and log puppet''s requests. >> -Patrick >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To post to this group, send email to puppet-users@googlegroups.com. >> To unsubscribe from this group, send email to >> puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@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-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >-- nigel -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
I''m using Passenger, but I''ve heard that Mongrel works well too. I don''t know anything about it though. On May 3, 2010, at 11:33 AM, Roshan Punnoose wrote:> Oh ok, is there a doc on how to run on another webserver? (Is this the Mongrel doc?) > > Roshan > > On Mon, May 3, 2010 at 2:28 PM, Patrick <kc7zzv@gmail.com> wrote: > > On May 3, 2010, at 11:22 AM, Roshan Punnoose wrote: > >> 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 > > I think the easiest way to find out more is to run puppet on a real webserver and log puppet''s requests. > -Patrick > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@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-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.