= Web Request Puppet Resource Type and Provider =
This Puppet module adds a new resource type and provider allowing the end-user
to invoke http get, post, put, and delete requests right from a Puppet
manifest. To use this drop the module into your puppet module path and invoke
it like so:
web_request{ “bing-search”:
get => ‘http://www.bing.com’,
parameters => { ‘q’ => “my query” },
returns => ‘200’
}
This will issue a get request to bing.com for the specified query, verifying
the http return status is 200.
There are many other various ways to customize the request, control if/when it
is invoked, and verify what is returned, see the actual resource type for
more information
For sample usage see aeolus-configure here:
https://github.com/aeolusproject/aeolus-configure