provizioning 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Provizioning
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
@@ -0,0 +1,29 @@
1
+ upstream <%= name %> {
2
+ server unix:/tmp/<%= name %>.sock fail_timeout=0;
3
+ }
4
+
5
+ server {
6
+ listen 80;
7
+ client_max_body_size 4G;
8
+ server_name <%= domain_name %>;
9
+
10
+ keepalive_timeout 5;
11
+
12
+ root <%= deploy_to %>;
13
+
14
+ location / {
15
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
16
+ proxy_set_header Host $http_host;
17
+ proxy_redirect off;
18
+
19
+ if (!-f $request_filename) {
20
+ proxy_pass http://<%= name %>;
21
+ break;
22
+ }
23
+ }
24
+
25
+ error_page 500 502 503 504 /500.html;
26
+ location = /500.html {
27
+ root <%= deploy_to %>;
28
+ }
29
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: provizioning
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-23 00:00:00.000000000 Z
12
+ date: 2011-11-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
16
- requirement: &2154370940 !ruby/object:Gem::Requirement
16
+ requirement: &2160476680 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2154370940
24
+ version_requirements: *2160476680
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: capistrano-ext
27
- requirement: &2154370420 !ruby/object:Gem::Requirement
27
+ requirement: &2160475240 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2154370420
35
+ version_requirements: *2160475240
36
36
  description: Server provisioning tools, recipes and templates based on Sprinkle
37
37
  email:
38
38
  - victor.castell@season.es
@@ -177,6 +177,7 @@ files:
177
177
  - puppet/modules/nginx/templates/fcgi_site.erb
178
178
  - puppet/modules/nginx/templates/includes/fastcgi_params.erb
179
179
  - puppet/modules/nginx/templates/nginx.conf.erb
180
+ - puppet/modules/nginx/templates/site.erb
180
181
  - puppet/modules/passenger/manifests/init.pp
181
182
  - puppet/modules/passenger/templates/myapp
182
183
  - puppet/modules/php/README