recipiez 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Recipiez
2
- VERSION = '0.6.1'
2
+ VERSION = '0.6.2'
3
3
  end
data/recipes/apache.rb CHANGED
@@ -6,7 +6,7 @@ Capistrano::Configuration.instance(true).load do
6
6
  task :passenger_vhost do
7
7
  logger.info "generating .conf file"
8
8
  logger.info "placing #{application}.conf on remote server"
9
- apache_conf = "/etc/apache2/sites-available/#{application}"
9
+ apache_conf = "/etc/apache2/sites-available/#{application}.conf"
10
10
  put render("passenger_vhost", binding), "#{application}.conf"
11
11
  sudo "mv #{application}.conf #{apache_conf}"
12
12
  sudo "a2ensite #{application}"
@@ -30,7 +30,7 @@ Capistrano::Configuration.instance(true).load do
30
30
 
31
31
  logger.info "generating .conf file"
32
32
  logger.info "placing #{application}.conf on remote server"
33
- apache_conf = "/etc/apache2/sites-available/#{application}"
33
+ apache_conf = "/etc/apache2/sites-available/#{application}.conf"
34
34
  put render("php_vhost", binding), "#{application}.conf"
35
35
  sudo "mv #{application}.conf #{apache_conf}"
36
36
  sudo "a2ensite #{application}"
@@ -46,7 +46,7 @@ Capistrano::Configuration.instance(true).load do
46
46
 
47
47
  logger.info "generating .conf file"
48
48
  logger.info "placing #{application}.conf on remote server"
49
- apache_conf = "/etc/apache2/sites-available/#{application}"
49
+ apache_conf = "/etc/apache2/sites-available/#{application}.conf"
50
50
  put render("secure_php_vhost", binding), "#{application}.conf"
51
51
  sudo "mv #{application}.conf #{apache_conf}"
52
52
  sudo "a2ensite #{application}"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 6
8
- - 1
9
- version: 0.6.1
8
+ - 2
9
+ version: 0.6.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Alastair Brunton
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2014-02-06 00:00:00 +01:00
17
+ date: 2014-05-11 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency