~springfield-team/charms/precise/vsm/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
 
# The script installs amulet and other tools needed for the amulet tests. 
set -ex
 
# Get the status of the amulet package, this returns 0 of package is installed.
dpkg -s amulet
if [ $? -ne 0 ]; then
   # Install the Amulet testing harness.
   sudo add-apt-repository -y ppa:juju/stable
   sudo apt-get update -y
   sudo apt-get install -y python-amulet
   sudo apt-get install -y amulet
fi
sudo apt-get install paramiko