~marcoceppi/charm-tools/icon-template

« back to all changes in this revision

Viewing changes to tests/wiki-slave.sh

  • Committer: Mark Mims
  • Date: 2013-03-14 16:16:38 UTC
  • mfrom: (169.2.1 style-cleanup)
  • Revision ID: mark.mims@canonical.com-20130314161638-gqzoenpyq9qpasi9
mergingĀ lp:~marcoceppi/charm-tools/style-fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
set -e
3
3
repository=$1
4
4
if [ -z "$repository" ] ; then
5
 
  echo "usage: $0 path/to/repository | teardown"
6
 
  exit 1
 
5
    echo "usage: $0 path/to/repository | teardown"
 
6
    exit 1
7
7
fi
8
8
 
9
9
JUJU=`which juju`
10
10
 
11
11
if [ "$repository" = "teardown" ] ; then
12
 
  $JUJU destroy-service master
13
 
  $JUJU destroy-service slave
14
 
  $JUJU destroy-service demowiki
15
 
  exit 0
 
12
    $JUJU destroy-service master
 
13
    $JUJU destroy-service slave
 
14
    $JUJU destroy-service demowiki
 
15
    exit 0
16
16
fi
17
17
 
18
18
$JUJU deploy --repository=$repository local:mysql master