o2webappizer 0.2.0 → 0.2.1
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 +4 -4
- data/lib/o2webappizer/version.rb +1 -1
- data/templates/config/deploy.rb.tt +5 -5
- data/templates/config/sunzi/recipes/analysers.sh +2 -0
- data/templates/config/sunzi/recipes/libraries.sh +1 -0
- data/templates/config/sunzi/recipes/monit.sh +10 -0
- data/templates/config/sunzi/roles/admin.sh +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a4d0f5a9c2c626adfb37797ea815038e9c0bff9d
|
|
4
|
+
data.tar.gz: fc8c48c3f82cae1abb1e57dbe7f7aa9d3b4f9b84
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cc85c422fe503852abaa7205083a1b5839338c821439323edaba994f7f248fe23a84ec585a12275e64ce8f37a05e8869a153c559a0587ea97958c94bc21451a6
|
|
7
|
+
data.tar.gz: edca23dd95b19e726ffe2fd1f6e323c91c982e638d5863ccb7e99b871c5d2b91006636bf84b11f6d52a39416598acbd7bf646721307629bfbccd8f65e5ac50e4
|
data/lib/o2webappizer/version.rb
CHANGED
|
@@ -18,27 +18,27 @@ set :passenger_restart_with_sudo, false
|
|
|
18
18
|
set :passenger_restart_command, 'rbenv sudo passenger-config restart-app'
|
|
19
19
|
|
|
20
20
|
# default to ['system']
|
|
21
|
-
set :files_public_dirs, fetch(:files_public_dirs).push(*%W[
|
|
21
|
+
set :files_public_dirs, fetch(:files_public_dirs, []).push(*%W[
|
|
22
22
|
<% if options.solidus? -%>
|
|
23
23
|
spree
|
|
24
24
|
<% end -%>
|
|
25
25
|
])
|
|
26
26
|
# default to []
|
|
27
|
-
set :files_private_dirs, fetch(:files_private_dirs).push(*%W[
|
|
27
|
+
set :files_private_dirs, fetch(:files_private_dirs, []).push(*%W[
|
|
28
28
|
])
|
|
29
29
|
|
|
30
30
|
set :nginx_max_body_size, '10m'
|
|
31
31
|
# default to ['system', 'images']
|
|
32
|
-
set :nginx_public_dirs, fetch(:nginx_public_dirs).push(*%W[
|
|
32
|
+
set :nginx_public_dirs, fetch(:nginx_public_dirs, []).push(*%W[
|
|
33
33
|
<% if options.solidus? -%>
|
|
34
34
|
spree
|
|
35
35
|
<% end -%>
|
|
36
36
|
])
|
|
37
37
|
# default to ['404.html', '422.html', '500.html', 'favicon.ico']
|
|
38
|
-
set :nginx_public_files, fetch(:nginx_public_files).push(*%W[
|
|
38
|
+
set :nginx_public_files, fetch(:nginx_public_files, []).push(*%W[
|
|
39
39
|
])
|
|
40
40
|
# default to {}
|
|
41
|
-
set :nginx_redirects, fetch(:nginx_redirects).merge({
|
|
41
|
+
set :nginx_redirects, fetch(:nginx_redirects, {}).merge({
|
|
42
42
|
})
|
|
43
43
|
|
|
44
44
|
set :pty, true
|
|
@@ -11,6 +11,8 @@ if sunzi.to_be_done "install analysers"; then
|
|
|
11
11
|
sunzi.install "nethogs"
|
|
12
12
|
sunzi.install "sysstat"
|
|
13
13
|
|
|
14
|
+
pip install ngxtop
|
|
15
|
+
|
|
14
16
|
sed -i 's/#time-format %H:%M:%S/time-format %H:%M:%S/' /etc/goaccess.conf
|
|
15
17
|
sed -i 's|#date-format %d/%b/%Y|date-format %d/%b/%Y|' /etc/goaccess.conf
|
|
16
18
|
sed -i 's/#log-format %h %\^\[%d:%t %\^\] "%r" %s %b "%R" "%u"/log-format %h - %\^ \[%d:%t %\^\] "%r" %s %b "%R" "%u" %T %\^/' /etc/goaccess.conf
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: o2webappizer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Patrice Lebel
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-02-
|
|
11
|
+
date: 2016-02-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -138,6 +138,7 @@ files:
|
|
|
138
138
|
- templates/config/sunzi/recipes/analysers.sh
|
|
139
139
|
- templates/config/sunzi/recipes/libraries.sh
|
|
140
140
|
- templates/config/sunzi/recipes/logrotate.sh
|
|
141
|
+
- templates/config/sunzi/recipes/monit.sh
|
|
141
142
|
- templates/config/sunzi/recipes/mysql.sh
|
|
142
143
|
- templates/config/sunzi/recipes/noatime.sh
|
|
143
144
|
- templates/config/sunzi/recipes/nodejs.sh
|
|
@@ -210,4 +211,3 @@ signing_key:
|
|
|
210
211
|
specification_version: 4
|
|
211
212
|
summary: Project Boilerplate Builder used by O2Web
|
|
212
213
|
test_files: []
|
|
213
|
-
has_rdoc:
|