~charmers/charms/trusty/apache2/trunk

« back to all changes in this revision

Viewing changes to tests/00-setup

  • Committer: Matt Bruzek
  • Date: 2014-10-31 18:05:47 UTC
  • mfrom: (56.1.2 apache2)
  • Revision ID: matthew.bruzek@canonical.com-20141031180547-xi6n15vx60nrfxg1
[kwmonroe] Use python venv, fix lint errors, add simple deployment bundle test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
set -x 
 
4
 
 
5
# Check if amulet is installed before adding repository and updating apt-get.
 
6
dpkg -s amulet
 
7
if [ $? -ne 0 ]; then
 
8
    sudo add-apt-repository -y ppa:juju/stable
 
9
    sudo apt-get update
 
10
    sudo apt-get install -y amulet
 
11
fi
 
12
 
 
13
# Install any additional python packages or software here.