# File lib/dister/core.rb, line 291 def upload_bundled_files upload_options = {:path => "/srv/www", :owner => 'root', :group => 'root'} # Upload tarball. self.file_upload("#{APP_ROOT}/.dister/#{@options.app_name}_application.tar.gz", upload_options) # Upload config files to separate location. upload_options[:path] = "/etc/apache2/vhosts.d" self.file_upload("#{APP_ROOT}/.dister/#{@options.app_name}_apache.conf", upload_options) # Upload db related files to separate location. upload_options[:path] = "/root" self.file_upload("#{APP_ROOT}/.dister/create_db_user.sql", upload_options) end