Changeset 80
- Timestamp:
- 06/19/07 17:48:11 (2 years ago)
- Files:
-
- branches/1-7-stable/lib/deprec/capistrano_extensions/deprec_extensions.rb (modified) (1 diff)
- branches/1-7-stable/lib/deprec/recipes/templates (deleted)
- branches/1-7-stable/lib/deprec/templates (added)
- branches/1-7-stable/lib/deprec/templates/postfix_main.conf (added)
- branches/1-7-stable/lib/deprec/templates/trac.ini.erb (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1-7-stable/lib/deprec/capistrano_extensions/deprec_extensions.rb
r73 r80 3 3 4 4 module Deprec 5 DEPREC_TEMPLATES_BASE = File.join(File.dirname(__FILE__), '..', ' recipes', 'templates')5 DEPREC_TEMPLATES_BASE = File.join(File.dirname(__FILE__), '..', 'templates') 6 6 7 7 def render_template_to_file(template_name, destination_file_name, templates_dir = DEPREC_TEMPLATES_BASE) 8 template_name += '.conf' if File.extname(template_name) == '' 8 template_name += '.conf' if File.extname(template_name) == '' # XXX this to be removed 9 9 10 10 file = File.join(templates_dir, template_name)
