set LANG=C prior to apt-get install

There are some problems during a remote ssh session attempting
to install maas wrt postgresql failing because of incorrect/
unknown locales.

LP: https://bugs.launchpad.net/maas/+bug/1382774

Fixes #236

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
update uninstall instructions for landscape

We don't want to automatically purge everything because of
landscapes requirements. This updates the uninstall instructions
printed to the user during a `openstack-install -u` if a landscape
installation is detected.

Fixes #200

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Disable adding ceph units until can be fully tested

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
cleanup ~/.maascli.db on failure

First we move up the step of setting proper ownership of ~/.maascli.db.
We also make sure to cleanup that file if failure to login occurs as
the database gets created regardless.

Fixes #199

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
juju api expects a string not boolean

In the swift charm we previously were setting a Boolean as
an option for defining our 'use_swift' config item. Either
the api changed what it accepts or something else is going
on as this has worked in juju versions 1.18.x.

Fixes #210

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
avoid calling deploy() for the same service more than once
add debugging for machine_id bug
fix pep8 errors

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Ensure a locale is defined within /etc/default/locale

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Only bail on no LC_ALL, append to locale file

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Remove additional newline in appending to file

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Merge branch 'patch-set-locale-apt-get'
Prompt user before uninstall takes place

Fixes #256

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Single installer doc updates

Describe how to login to the container and access Juju

Ref #248 - not a complete fix but at least provides more
context on the environment.

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Document the `-k` option in the installer

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Fix OpenStack capitalization in docs

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Update man pages

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Add `--extra-ppa` option to install

This gives the ability to define a list of additional ppas to
be passed into a Single installer cloud-init configuration.

Format is:

openstack-install --extra-ppa ppa:cloud-installer/experimental

Mostly useful for testing latest bits generated by our experimental
ppa.

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Update man pages

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Fix c.m.satisfies documentation

Syntax updates to handle the note and highlight the return
and return type

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>