edmund.haselwanter.com - the personal site about Edmund Haselwanter - Rails/Radiant Developer; DevOp with Chef


published by Edmund Haselwanter on Friday, July 04, 2008

How to configure your local Crowbar Chef Environment

Posted by DI Edmund Haselwanter on Oct 19, 2012
Tags: crowbar, openstack, opschef

Crowbar uses its own opens source Chef instance. After a default installation it is not very easy to update cookbooks from your local development environment. This howto describes a more usable configuration of local crowbar environment.

Continue Reading…

Deployment of Openstack on a Virtualbox Multi Node Environment

Posted by DI Edmund Haselwanter on Oct 11, 2012
Tags: crowbar, openstack, opschef

First get the project files from the Github repository.

git clone https://github.com/iteh/crowbar-virtualbox.git

Goal

Provide a transportable virtual environment for crowbar/openstack

The solution is inspired by:

vagrant virtualbox hostonly pxe vlans

Its opinionated in a sense as we need ubuntu-12.04 to work, so fork and help to make it more useable for other distros :-)

Continue Reading…

Data Driven Deployment of a Java Web Application with Chef Solo and Vagrant

Posted by DI Edmund Haselwanter on Apr 16, 2011
Tags: java, ruby, vagrant

Chef Application Cookbook Showcase

This Vagrant project on github ( https://github.com/iteh/vagrant-demos/ ) showcases the application cookbook for chef

read on iteh.at

Mechanize Screencast and IRB copy history

Posted by Edmund Haselwanter on Mar 12, 2010
Tags: ruby

And again Ryan Bates did a great screencast. This time on mechanize

“Mechanize extends the power of Nokogiri allowing you to interact with multiple pages on the site: click links, submit forms, etc.”

And if you ever wanted to extract the history of an IRB session, here it is:

puts Readline::HISTORY.entries.split("exit").last[0..-2].join("\n")

and another great tool from this episode:

SelectorGadget: point and click CSS selectors

HTTP Basic Auth for Mysql password and old_password in Rails

Posted by Edmund Haselwanter on Nov 02, 2009
Tags: http basic auth, mysql, rails

I recently had to develop a small application for a client. The goal was to add a feature to grown Java web application.

As the software was maintained for several years there are users with old an new MySql passwords in the system.

Continue Reading…

chef from opscode and the power of ruby

Posted by Edmund Haselwanter on Oct 14, 2009
Tags: chef, opschef, opscode, opscookbook, sysadmin

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 information.

Continue Reading…

webalizer cookbook and definition for chef from opscode

Posted by Edmund Haselwanter on Oct 13, 2009
Tags: apache2, chef, opschef, opscode, opscookbook, sysadmin

Install and run the webalizer with Chef from Opscode

http://github.com/ehaselwanter/cookbooks/tree/COOK-195/webalizer

As DRY as possible ;-)

Continue Reading…

Simple ping.fm extension for radiant

Posted by Edmund Haselwanter on Oct 11, 2009
Tags: ping.fm, radiantcms

I just created a simple Ping.fm extension for RadiantCMS on github: ping.fm extension

With this you can have updates to your site automatically send details to your
Ping.fm account. All you’ll need to do is provide your account information in the Radiant::Config settings.

Continue Reading…

Glassfish cookbook for chef from opscode

Posted by Edmund Haselwanter on Oct 11, 2009
Tags: chef, Glassfish, java, opschef, opscookbook, Sun

Install and run the Sun Glassfish Application Server from Sun with Chef from Opscode

At the moment its really dumb and just installs Glassfish and runs it:
http://github.com/ehaselwanter/cookbooks/tree/COOK-191/glassfish/

cruise from Thougthworks and ant 1.7.1 on centos 5.2

Posted by Edmund Haselwanter on Sep 29, 2009
Tags: ant, centos, cruise, Thougthworks

This is on howto use apache ant 1.7.1 in Cruise 1.2 from Thoughtworks

Continue Reading…