~tribaal/charms/precise/storage/refactor-mount-volume

« back to all changes in this revision

Viewing changes to hooks/storage-provider.d/nova/config-changed

  • Committer: David Britton
  • Date: 2014-02-05 20:46:42 UTC
  • mfrom: (26.1.89 storage)
  • Revision ID: dpb@canonical.com-20140205204642-qfwv0x6314bulcx7
merging chad's python/nfs additions

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
 
3
 
if dpkg -s python-novaclient >/dev/null 2>&1; then
4
 
    echo python-novaclient already installed.
5
 
else
6
 
    apt-add-repository -y cloud-archive:havana
7
 
    apt-get update
8
 
    apt-get -y install python-novaclient
9
 
fi
10
 
if dpkg -s python-jsonpipe >/dev/null 2>&1; then
11
 
    echo python-jsonpipe already installed.
12
 
else
13
 
    apt-get -y install python-jsonpipe
14
 
fi