A webhosting script?

Hello!

Does anybody run a webhosting business, where they've written
a simple Ruby script to add new users and set up their domains in BIND,
virtual hosts in Apache, MySQL databases and so on all in one go?

I am looking for inspiration for my own script.

Thank you!

I truly wish to keep it real and avoid solutions like cPanel or Webmin.

All the best,
Kyrre