Permalink
Browse files

fixed line endings for restore script

  • Loading branch information...
ronniedada committed Aug 20, 2013
1 parent 8d7eb9b commit 9573fde26ed353c470877970896b413d027a0931
Showing with 2 additions and 2 deletions.
  1. +2 −2 cookbooks/couchbase/recipes/restore-2.1.1.rb
@@ -132,8 +132,8 @@
new_dir = "#{mount_point}" << "_back"
execute "restoring data from a backup location: #{new_dir} -> #{mount_point}" do
command("/etc/init.d/couchbase-server stop && cd #{mount_point} && " +
" rm -rf #{node[:db_couchbase][:bucket][:name]} && "
" mv -f #{new_dir}/* #{mount_point} && ")
" rm -rf #{node[:db_couchbase][:bucket][:name]} && " +
" mv -f #{new_dir}/* #{mount_point} && " +
" /etc/init.d/cochbase-server start")
action :run
end

0 comments on commit 9573fde

Please sign in to comment.