lib/deprec/recipes/app/mongrel.rb in deprec-2.0.1 vs lib/deprec/recipes/app/mongrel.rb in deprec-2.0.2

- old
+ new

@@ -59,17 +59,17 @@ {:template => 'logrotate.conf.erb', :path => "logrotate.conf", :mode => 0644, :owner => 'root:root'}, - {:template => 'nginx_vhost.erb', + {:template => 'nginx_vhost.conf.erb', :path => "nginx_vhost.conf", :mode => 0644, :owner => 'root:root'}, - {:template => 'apache_vhost.erb', - :path => "apache_vhost", + {:template => 'apache_vhost.conf.erb', + :path => "apache_vhost.conf", :mode => 0644, :owner => 'root:root'} ] @@ -109,14 +109,14 @@ symlink_logrotate_config activate_project end task :symlink_apache_vhost, :roles => :app do - sudo "ln -sf #{deploy_to}/mongrel/apache_vhost #{apache_vhost_dir}/#{application}" + sudo "ln -sf #{deploy_to}/mongrel/apache_vhost.conf #{apache_vhost_dir}/#{application}.conf" end task :symlink_nginx_vhost, :roles => :app do - sudo "ln -sf #{deploy_to}/mongrel/nginx_vhost #{nginx_vhost_dir}/#{application}" + sudo "ln -sf #{deploy_to}/mongrel/nginx_vhost.conf #{nginx_vhost_dir}/#{application}.conf" end task :symlink_monit_config, :roles => :app do deprec2.mkdir(monit_confd_dir, :via => :sudo) sudo "ln -sf #{deploy_to}/mongrel/monit.conf #{monit_confd_dir}/mongrel_#{application}.conf"