Recent releases of chef from opscode provide a new resource: ruby_block
This is really great news as this allows for interesting problem solving.
Consider you want to do a very special HTTP request. E.g. a GET to localhost but with custom “Host” header...
Install and run the webalizer with Chef from Opscode
http://github.com/ehaselwanter/cookbooks/tree/COOK-195/webalizer
As DRY as possible ;-)
Simply put it derives the log file name from its name and takes a server name for where to access...
Added support for custom header options in chef for the http_request
Opscode Chef Ticket
Resolved on Github
An example using a custom “Host” header property:
http_request "localhost_with_host_header" do url "localhost" message "my request" headers...
There is a new kid on the configuration management block Chef from Opscode. Here is a blog post about Puppet vs. Chef.
Chef is kind of Puppet with integrated iClassify and a rubyish configuration DSL. No wonder, Adam Jacob joined forces on Chef.
You...
Interested in Cloud or Chef Trainings? Have a look at our Commandemy Trainings page. Need help migrating to the cloud? Check out Infralovers.
comments powered by Disqus