Method: Deployment::Methods::Zip#tgz_file
- Defined in:
- lib/depengine/dsl/zip.rb
#tgz_file(tgz_file, source_dir, filename = nil) ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/depengine/dsl/zip.rb', line 13 def tgz_file(tgz_file, source_dir, filename = nil) Helper.validates_presence_of @cdb['tar_bin'] Processor.tgz_file(File.join($recipe_config[:deploy_home], tgz_file), \ File.join($recipe_config[:deploy_home], source_dir), \ filename, @cdb['tar_bin']) end |