diff options
author | elijah <elijah@riseup.net> | 2015-03-31 14:08:33 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2015-03-31 14:08:33 -0700 |
commit | 585c00840d17347f54941db36921a4bf4a9f397a (patch) | |
tree | c1404870af9d9cba9052ebce501b26965f9bef7d /lib | |
parent | b1d277f5d58bc5aeef3c024ca7e2b45a0e2edb83 (diff) |
update tapicero config
Diffstat (limited to 'lib')
-rw-r--r-- | lib/leap_cli/commands/db.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/db.rb b/lib/leap_cli/commands/db.rb index 55134f5..e4fd385 100644 --- a/lib/leap_cli/commands/db.rb +++ b/lib/leap_cli/commands/db.rb @@ -40,7 +40,7 @@ module LeapCli; module Commands def destroy_all_dbs(nodes) ssh_connect(nodes) do |ssh| ssh.run('/etc/init.d/bigcouch stop && test ! -z "$(ls /opt/bigcouch/var/lib/ 2> /dev/null)" && rm -r /opt/bigcouch/var/lib/* && echo "db destroyed" || echo "db already destroyed"') - ssh.run('grep ^seq_file /etc/leap/tapicero.yaml | cut -f2 -d\" | xargs rm -v') + ssh.run('grep ^seq_dir /etc/leap/tapicero.yaml | cut -f2 -d\" | xargs rm -rv') end end |