Issue #7474 has been updated by Daniel Pittman.

Status changed from In Topic Branch Pending Review to Closed

Mo Morsi wrote:
> Hey thanks for the response. Yes, submitting it as a module would be fine, 
> will begin that process of pushing it there (along w/ the recent updates 
> which we added since submitting this there).
> 
> Also if at any point this becomes acceptable / desirable for inclusion in the 
> main puppet library, just shout out. Even if it involves additional changes 
> to comply to puppet's standards (such as replacing curb w/ net::http and/or 
> nokogiri w/ an equivalent package) would be willing to work with you to see 
> it in.

One of the things we want to do, long term, is work out how to ship modules 
with core Puppet in a way that is awesome, but that still allows the advantages 
of the forge to rule.  One day, I dream it will be so!

Until then, this is awesome, and lots of people will be really happy about this.

----------------------------------------
Feature #7474: puppet web resource type / provider
https://projects.puppetlabs.com/issues/7474#change-56314

Author: Mo Morsi
Status: Closed
Priority: Normal
Assignee: Daniel Pittman
Category: newfeature
Target version: 
Affected Puppet version: 
Keywords: puppet, web, resource, provider, type
Branch: 
http://groups.google.com/group/puppet-dev/browse_thread/thread/b163ae7f6b96965e


As part of the aeolus project (http://aeolusproject.org) we provide a puppet 
recipe to install and configure the different components that make up the 
framework.

Several of our components primarily provide web interfaces which to configure 
the components and to create data, and previously we were manually 'exec'ing 
the curl command to invoke those requests.

The problem with this is that its tricky to both verify the HTTP response code 
as well as parse / verify the contents of the response, so to assist with this 
we wrote a generic web resource type and provider (based on libcurl) to perform 
the actual operation.

There is nothing aeolus-specific as part of this resource / provider, so I'm 
sharing it here with the hopes of getting some feedback and possibly for 
inclusion in the upstream project.

The patch itself can be found here:

http://git.fedorahosted.org/git/?p=aeolus/configure.git;a=commitdiff;h=24765b6d92496f6127a903c1c59e3eaf578f30a9
http://mo.morsi.org/blog/node/336

Thoughts? Any way this could be included as part of puppet?


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to