lib/shelly/app.rb in shelly-0.1.35 vs lib/shelly/app.rb in shelly-0.1.36
- old
+ new
@@ -225,9 +225,13 @@
def download(relative_source, destination)
source = File.join("#{ssh['host']}:/srv/glusterfs/disk", relative_source)
rsync(source, destination)
end
+ def delete_file(remote_path)
+ ssh_command("delete_file #{remote_path}")
+ end
+
# Public: Return databases for given Cloud in Cloudfile
# Returns Array of databases
def cloud_databases
content["servers"].map do |server, settings|
settings["databases"]