Changeset 108

Show
Ignore:
Timestamp:
06/26/07 22:21:20 (2 years ago)
Author:
mbailey
Message:

added config value to enable email notifications in trac
note - this currently requires postfix to be installed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1-7-stable/lib/deprec/recipes/trac.rb

    r99 r108  
    55  set :tracd_port, '9000' 
    66  set (:trac_path) do 
    7     deploy_to ? "#{deploy_to}/trac" : Capistrano::CLI.prompt('path to trac config: ') 
     7    deploy_to ? "#{deploy_to}/trac" : Capistrano::CLI.prompt('path to trac config') 
    88  end 
    99  set (:trac_account) do 
    10     Capistrano::CLI.prompt('enter new trac user account name: ') 
     10    Capistrano::CLI.prompt('enter new trac user account name') 
    1111  end   
    1212  set :trac_passwordfile_exists, true # hack - should check on remote system instead 
     13   
     14  set :trac_smtp_enabled, true 
    1315   
    1416  task :trac_install, :roles => :scm do 
  • branches/1-7-stable/lib/deprec/templates/trac.ini.erb

    r94 r108  
    4545smtp_always_cc =  
    4646smtp_default_domain =  
    47 smtp_enabled = false 
     47smtp_enabled = <%= trac_smtp_enabled.to_s %> 
    4848smtp_from = trac@localhost 
    4949smtp_password =