From a27c9e53f46700acb79b33173060e45c97c183c2 Mon Sep 17 00:00:00 2001 From: elijah Date: Thu, 18 Dec 2014 10:15:08 -0800 Subject: added info note to leap db destroy --- lib/leap_cli/commands/db.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/leap_cli/commands/db.rb b/lib/leap_cli/commands/db.rb index ea83b0c..fd50424 100644 --- a/lib/leap_cli/commands/db.rb +++ b/lib/leap_cli/commands/db.rb @@ -17,6 +17,7 @@ module LeapCli; module Commands 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') end + say 'You must run `leap deploy` in order to create the databases again.' else say 'No nodes' end -- cgit v1.2.3