Sha256: 4aff407c880903ee8e4481269501654fea1acaf6d63595a3857d3ef1998ae922
Contents?: true
Size: 862 Bytes
Versions: 12
Compression:
Stored size: 862 Bytes
Contents
module Deployment module Methods module Template def parse_template(source, target, content, options={}) template = Processor::Template.new template.cdb = @cdb template.basepath = options[:basepath] || $recipe_config[:deploy_home] options[:excludes] = [] if options[:excludes].nil? options[:excludes] << '.svn' template.parse_template(source, content, target, options) end def parse_erb_template(source, target, content, options={}) template = Processor::Template.new template.cdb = @cdb template.basepath = options[:basepath] || $recipe_config[:deploy_home] options[:excludes] = [] if options[:excludes].nil? options[:excludes] << '.svn' template.parse_erb_template(source, content, target, options) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems