ianmiell/shutit — pull request #16 by aidanhs (2014-05-06 22:35:17+00:00)
Title: Beginnings of a web ui

Pretty rough and hacky web ui.
Run it with `python shutit_srv --shutit_module_path library/`

For a nice demonstration, do `mv library/mysql/mysql.py* /tmp` to make mysql go missing and move README.md out of the resources directory (to make jenkins fail the readiness check).

Then you can individually select wordpress and jenkins to see accumulated errors and modules that are selected for build due to dep checks.

I should note that I comment out the following lines in util.py. If you don't it'll take about 10x longer to start up the server. Probably need to think of a better way to do it.

````py
- send_and_expect(child,'apt-get update',config_dict['expect_prompts']['tmp_prompt'],timeout=9999,check_exit=False)
- send_and_expect(child,'dpkg-divert --local --rename --add /sbin/initctl',config_dict['expect_prompts']['tmp_prompt'])
- send_and_expect(child,'ln -f -s /bin/true /sbin/initctl',config_dict['expect_prompts']['tmp_prompt'])
- install(child,config_dict,'passwd',config_dict['expect_prompts']['tmp_prompt'])
- install(child,config_dict,'sudo',config_dict['expect_prompts']['tmp_prompt'])
+ #send_and_expect(child,'apt-get update',config_dict['expect_prompts']['tmp_prompt'],timeout=9999,check_exit=False)
+ #send_and_expect(child,'dpkg-divert --local --rename --add /sbin/initctl',config_dict['expect_prompts']['tmp_prompt'])
+ #send_and_expect(child,'ln -f -s /bin/true /sbin/initctl',config_dict['expect_prompts']['tmp_prompt'])
+ #install(child,config_dict,'passwd',config_dict['expect_prompts']['tmp_prompt'])
+ #install(child,config_dict,'sudo',config_dict['expect_prompts']['tmp_prompt']
````