pvcglue 0.1.10 → 0.1.11
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.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NmQ5NzI2NDMwNmM2NTMxMGVkNDczYjVjNjM0ZjU4NGJhNmE1YjBhMw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Yjg2N2QzYjRjNjVlYTM1NTY3MTJhOGVmYWIzNTIxMjRlNTNhYjdiZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MGRiMzFiODg1ZmNhYmVjNjE3NTE5OGFhYTI2NWE4MmIwNzEzNGI0MjE4MTU5
|
10
|
+
ODFmMjg2YTA3NmFkNGFmZGQzMzJjN2ExNGFkZjQ3NmNhMzRhNDg2MTA3ODU5
|
11
|
+
MjUyMzhjNjhkOTU2ZTlmNDcwNzIxMTdkMjJjNWIzYmZiYjYzNWM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZjhmZjU1MjY3NGUxYmViNmMyZjkxNWE3M2M4YzA0ZjlhNWQyMDIwZmE5MTQ4
|
14
|
+
ZjZkODQwMTFjYmY1NWI2ZjZlODI1OTFkOTQ2ODMyNjk0ZjAzNTRjMjIxOTdl
|
15
|
+
YTBmZjBkZDA2NzQxOTY5ZGJhODM5YThhYTNiYTUzODQ4OWNhZjg=
|
data/lib/pvcglue/cloud.rb
CHANGED
@@ -219,6 +219,26 @@ module Pvcglue
|
|
219
219
|
data[app_name][:repo_url]
|
220
220
|
end
|
221
221
|
|
222
|
+
def client_header_timeout
|
223
|
+
data[app_name][:client_header_timeout] || stage[:client_header_timeout] || "60s"
|
224
|
+
end
|
225
|
+
|
226
|
+
def client_body_timeout
|
227
|
+
data[app_name][:client_body_timeout] || stage[:client_body_timeout] || "60s"
|
228
|
+
end
|
229
|
+
|
230
|
+
def proxy_read_timeout
|
231
|
+
data[app_name][:proxy_read_timeout] || stage[:proxy_read_timeout] || "60s"
|
232
|
+
end
|
233
|
+
|
234
|
+
def proxy_send_timeout
|
235
|
+
data[app_name][:proxy_send_timeout] || stage[:proxy_send_timeout] || "60s"
|
236
|
+
end
|
237
|
+
|
238
|
+
def client_max_body_size
|
239
|
+
data[app_name][:client_max_body_size] || stage[:client_max_body_size] || "1m"
|
240
|
+
end
|
241
|
+
|
222
242
|
def swapfile_size
|
223
243
|
data[app_name][:swapfile_size] || stage[:swapfile_size] || 1024
|
224
244
|
end
|
@@ -6,6 +6,7 @@ package 'bootstrap' do
|
|
6
6
|
depends_on 'htop'
|
7
7
|
depends_on 'ufw'
|
8
8
|
depends_on 'applications_dir'
|
9
|
+
depends_on 'authorized_keys_root'
|
9
10
|
depends_on 'authorized_keys'
|
10
11
|
depends_on 'sshd-config'
|
11
12
|
depends_on 'firewall-config'
|
@@ -63,6 +64,18 @@ package 'authorized_keys' do
|
|
63
64
|
})
|
64
65
|
end
|
65
66
|
|
67
|
+
package 'authorized_keys_root' do
|
68
|
+
|
69
|
+
file({
|
70
|
+
:template => ::Pvcglue.template_file_name('authorized_keys.erb'),
|
71
|
+
:destination => '/root/.ssh/authorized_keys',
|
72
|
+
:create_dirs => true,
|
73
|
+
:permissions => 0644,
|
74
|
+
:user => 'root',
|
75
|
+
:group => 'root'
|
76
|
+
})
|
77
|
+
end
|
78
|
+
|
66
79
|
package 'sshd-config' do
|
67
80
|
|
68
81
|
file({
|
@@ -12,6 +12,12 @@ events {
|
|
12
12
|
|
13
13
|
http {
|
14
14
|
|
15
|
+
# Timeouts
|
16
|
+
client_header_timeout <%= Pvcglue.cloud.client_header_timeout %>;
|
17
|
+
client_body_timeout <%= Pvcglue.cloud.client_body_timeout %>;
|
18
|
+
proxy_read_timeout <%= Pvcglue.cloud.proxy_read_timeout %>;
|
19
|
+
proxy_send_timeout <%= Pvcglue.cloud.proxy_send_timeout %>;
|
20
|
+
|
15
21
|
##
|
16
22
|
# Basic Settings
|
17
23
|
##
|
@@ -24,6 +30,7 @@ http {
|
|
24
30
|
# server_tokens off;
|
25
31
|
|
26
32
|
server_names_hash_bucket_size 64;
|
33
|
+
client_max_body_size <%= Pvcglue.cloud.client_max_body_size %>;
|
27
34
|
# server_name_in_redirect off;
|
28
35
|
|
29
36
|
include /etc/nginx/mime.types;
|
data/lib/pvcglue/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pvcglue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Lyric
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|