1 2 3 4 5 6 7 8 9 10 |
#!/bin/bash # Copyright 2012, 2013 Canonical Ltd. This software is licensed under the # GNU Affero General Public License version 3 (see the file LICENSE). # Very dangerous script to wipe on disk directory and mongo of data. set -e mongo --eval "db.dropDatabase(); 'juju database dropped'" juju curl -XDELETE http://localhost:9200/_all |