~hazmat/landscape-deployer/state-server-stability

« back to all changes in this revision

Viewing changes to dev/ubuntu-deps

  • Committer: David Britton
  • Date: 2014-07-17 14:48:43 UTC
  • Revision ID: dpb@canonical.com-20140717144843-gre2g2n318kj0nc2
Initial commit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash -e
 
2
# Needs to be run as a user who can sudo.  d'oh!
 
3
# It will ask your password a lot.
 
4
 
 
5
# Install add-apt-repository (packaging differs across releases).
 
6
lsb_release -r | grep -q 12.04 \
 
7
    && sudo apt-get -y install python-software-properties \
 
8
    || sudo apt-get -y install software-properties-common
 
9
 
 
10
# Add the juju stable ppa, install charm-tools (juju-test plugin) and other deps
 
11
sudo add-apt-repository -y ppa:juju/stable
 
12
sudo apt-get update
 
13
sudo apt-get -y install juju-deployer juju-core