~rharding/charms/precise/juju-gui/update-nagios

« back to all changes in this revision

Viewing changes to README.md

  • Committer: Rick Harding
  • Date: 2014-01-15 14:50:46 UTC
  • mfrom: (147.1.8 remove-pyjuju)
  • Revision ID: rick.harding@canonical.com-20140115145046-lyh9879k9x8hwb8i
Remove support for PyJuju and rapi from charm.

- Removes the support for running rapi/pyjuju.
- Removes the agent used to communicate with zookeeper.
- Removes anything pertaining to zookeeper.
- Attempts to clean up docs and such to make sense with pure juju-core.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
By default, the deployment uses self-signed certificates. The browser will ask
73
73
you to accept a security exception once.
74
74
 
75
 
You will see a login form with the username fixed to "user-admin" (for juju-
76
 
core) or "admin" (for pyjuju). The password is the same as your Juju
77
 
environment's `admin-secret`, found in `~/.juju/environments.yaml`.
 
75
You will see a login form with the username fixed to "user-admin". The
 
76
password is the same as your Juju environment's `admin-secret`, found in
 
77
`~/.juju/environments.yaml`.
78
78
 
79
79
### Deploying behind a firewall ###
80
80
 
102
102
deploy behind a firewall configuring the charm to pull the GUI release from a
103
103
location you specify.
104
104
 
105
 
For both Juju Core and PyJuju, you must simply do the following steps.  Note
106
 
that PyJuju must do these steps, plus another set described further below.
107
 
 
108
105
The config variable `juju-gui-source` allows a `url:` prefix which understands
109
106
both `http://` and `file://` protocols.  We will use this to load a local copy
110
107
of the GUI source.
125
122
 
126
123
    `juju resolved --retry juju-gui/0`
127
124
 
128
 
These steps are sufficient for Juju Core.  If you are using PyJuju, you need to
129
 
do another set of steps in addition.
130
 
 
131
 
1. Use bzr to branch lp:~hazmat/juju/rapi-rollup locally ("bzr branch
132
 
lp:~hazmat/juju/rapi-rollup") and copy the branch to the gui service machine.
133
 
 
134
 
2. Use "juju set juju-gui juju-api-branch=PATH_TO_LOCAL_BZR_BRANCH" (where the
135
 
path is *not* a file:// URI).
 
125
These steps are sufficient for Juju Core.
136
126
 
137
127
3. Retry as described in the step 3 above (`juju resolved --retry juju-gui/0`).
138
128
 
166
156
 
167
157
    juju deploy --force-machine 0 cs:precise/juju-gui
168
158
 
169
 
#### pyjuju ####
170
 
 
171
 
Colocation support is not included by default in the pyjuju implementation; to
172
 
activate it, you will need to install Jitsu:
173
 
 
174
 
    sudo apt-get install juju-jitsu
175
 
 
176
 
and then replace "juju deploy cs:precise/juju-gui" from the previous
177
 
instructions with this:
178
 
 
179
 
    jitsu deploy-to 0 cs:precise/juju-gui
180
 
 
181
159
## Contacting the Developers ##
182
160
 
183
161
If you run into problems with the charm, please feel free to contact us on the