~daisy-pluckers/charms/precise/daisy/trunk

« back to all changes in this revision

Viewing changes to hooks/config-changed

  • Committer: Brian Murray
  • Date: 2016-01-13 17:25:06 UTC
  • Revision ID: brian@canonical.com-20160113172506-4wygl7rndkd4fmlu
revert to r57 which worked with precise and the current production environment

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 
38
38
# Setup the database schema
39
39
for host in $($(dirname $0)/print-cassandra-hosts $LOCAL_CONFIG_PATH); do
40
 
    if PYTHONPATH=$LOCAL_CONFIG_LOCATION "$(dirname $0)/create-keyspace" -u "$cassandra_username" -p "$cassandra_password" "$host"; then
41
 
        OOPS_USERNAME=$cassandra_username OOPS_PASSWORD=$cassandra_password OOPS_KEYSPACE=crashdb OOPS_HOST="$host" python \
 
40
    if "$(dirname $0)/create-keyspace" "$host"; then
 
41
        OOPS_KEYSPACE=crashdb OOPS_HOST="$host" python \
42
42
            /usr/share/pyshared/oopsrepository/schema.py
43
43
    fi
44
44
done