recipiez 0.7.1 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module Recipiez
2
- VERSION = '0.7.1'
2
+ VERSION = '0.7.2'
3
3
  end
data/recipes/apache.rb CHANGED
@@ -13,6 +13,18 @@ Capistrano::Configuration.instance(true).load do
13
13
  sudo "/etc/init.d/apache2 reload"
14
14
  end
15
15
 
16
+ desc "Setup passenger elb vhost with HTTPS redirect (http internally)"
17
+ task :passenger_elb_vhost do
18
+ logger.info "generating .conf file"
19
+ logger.info "placing #{application}.conf on remote server"
20
+ apache_conf = "/etc/apache2/sites-available/#{application}.conf"
21
+ put render("passenger_elb_vhost", binding), "#{application}.conf"
22
+ sudo "mv #{application}.conf #{apache_conf}"
23
+ sudo "a2ensite #{application}.conf"
24
+ sudo "/etc/init.d/apache2 reload"
25
+ end
26
+
27
+
16
28
 
17
29
  desc "PHP Vhost Setup"
18
30
  task :php_vhost do
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 1
9
- version: 0.7.1
8
+ - 2
9
+ version: 0.7.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: 2015-03-12 00:00:00 +01:00
17
+ date: 2015-03-13 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency