summaryrefslogtreecommitdiff
path: root/lib/leap_cli/commands/db.rb
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-10-06 13:23:56 +0200
committervarac <varacanero@zeromail.org>2015-10-06 13:23:56 +0200
commitb1e50fc76ddece9944ae253da9bacd485ffea84b (patch)
treed8ad19d77712472d53e5945eeb7fbad9d17dd4e5 /lib/leap_cli/commands/db.rb
parent276b77cdcc0d169b84e046afe8763e2c52ff76fb (diff)
[feat] Remove tapicero from more places
Remove from: - platform white-box tests (couchdb user ACLs, tapicero daemon test) - provider_base/ dir that handles the compilation of the hiera config file - Resolves: #7501
Diffstat (limited to 'lib/leap_cli/commands/db.rb')
-rw-r--r--lib/leap_cli/commands/db.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/db.rb b/lib/leap_cli/commands/db.rb
index e4fd3858..5703e4bd 100644
--- a/lib/leap_cli/commands/db.rb
+++ b/lib/leap_cli/commands/db.rb
@@ -40,7 +40,6 @@ 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_dir /etc/leap/tapicero.yaml | cut -f2 -d\" | xargs rm -rv')
end
end