~frankban/charms/precise/juju-gui/guiserver-async-watcher

Refactor the config generation logic.

As requested by reviews, change the server configuration generation logic
so that the various server configuration files are present on the
filesystem only for the actually deployed and started servers.

This is implemented by creating additional start_* and stop_* functions
in hooks/utils.py, called by the mixins in hooks/backend.py, and moving
there/creating the logic that generates, writes and remove the various
configuration files.

In addition:

- factor out common SSL code between HaproxyApacheMixin and
  BuiltinServerMixin;
- rename options.http to options.insecure in server/guiserver/manage.py
- remove unused code and backend properties;
- miscellaneous cleanup.

The diff is still a bit big, even after moving the builtin server
integration changes to another branch. Sorry about that.

R=frankban, bac
CC=
https://codereview.appspot.com/12467044
Filename Latest Rev Last Changed Committer Comment Size
..
config 3.2.2 11 years ago Francesco Banconi Base structure of the charm. All hooks translated Diff
exec.d 41.2.1 11 years ago Matthew Wedgwood support for pre-install hooks such as basenode Diff
hooks 3.2.1 11 years ago Francesco Banconi Install hook. Diff
server 71.1.1 11 years ago Francesco Banconi Base structure for the server. Diff
tests 3.1.1 11 years ago Benji York initial project structure, especially tests Diff
.bzrignore 71.1.13 11 years ago Francesco Banconi Update bzrignore. 89 bytes Diff Download File
.lbox 62.1.1 11 years ago Brad Crittenden Add .lbox for specifying the target branch 60 bytes Diff Download File
File .lbox.check 65.3.10 11 years ago Francesco Banconi lbox.check fix. 30 bytes Diff Download File
config.yaml 85.2.1 11 years ago Nicola Larosa Move refactoring changes here fron builtin server 7.2 KB Diff Download File
COPYING 65.2.1 11 years ago Nicola Larosa Added the COPYING file, and headers to source file 33.7 KB Diff Download File
copyright 65.2.1 11 years ago Nicola Larosa Added the COPYING file, and headers to source file 770 bytes Diff Download File
Dependencies.md 71.2.1 11 years ago Nicola Larosa Very first server docs. 2.3 KB Diff Download File
HACKING.md 60.6.1 11 years ago Benji York - Add cache headers that will ensure fresh files a 6.4 KB Diff Download File
icon.svg 42.1.1 11 years ago Benjamin Saller basic apache support 8.8 KB Diff Download File
Makefile 85.2.4 11 years ago Nicola Larosa Fix error removing haproxy config file, increase f 2.4 KB Diff Download File
metadata.yaml 65.2.2 11 years ago Nicola Larosa Add headers to Makefile and YAML files. 1 KB Diff Download File
Operation.md 79.1.5 11 years ago Nicola Larosa Move not urgent changes to other branch to make th 1.1 KB Diff Download File
README.md 84 11 years ago Francesco Banconi Merged charmers trunk. 5.7 KB Diff Download File
revision 85.2.3 11 years ago Nicola Larosa Restore Apache headers module handling. 3 bytes Diff Download File