sunzi-rails 0.2.18 → 0.2.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sunzi/version.rb +1 -1
- data/lib/templates/create/recipes/analysers.sh +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65ee38f56a76325550172fc49431c3bbc94daff4
|
4
|
+
data.tar.gz: f8177aa496160c60851ca3a23dac9e8de1310537
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0257265275dde522abb3df056dba5e4f44e78d68693778152e24aa8d907f40fe615a89c8eac5b29f5dd8b649c8c11a3ab0e1990f7ce20547e51d16c2c54010e
|
7
|
+
data.tar.gz: 78d51404c3337eb44b6939112c0b0e0188aa295145914932dbcf0f043adcab7af04a4d6d83bf96a4573eae5420b21a677098978c59ba347e9aba44b91ffc4905
|
data/lib/sunzi/version.rb
CHANGED
@@ -6,8 +6,15 @@ if sunzi.to_be_done "install analysers"; then
|
|
6
6
|
|
7
7
|
sunzi.install "goaccess" #TODO: http://goaccess.io/faq#howto-config
|
8
8
|
sunzi.install "iotop"
|
9
|
+
sunzi.install "iftop"
|
10
|
+
sunzi.install "ifstat"
|
11
|
+
sunzi.install "nethogs"
|
9
12
|
sunzi.install "sysstat"
|
10
13
|
|
14
|
+
sed -i 's/#time-format %H:%M:%S/time-format %H:%M:%S/' /etc/goaccess.conf
|
15
|
+
sed -i 's|#date-format %d/%b/%Y|date-format %d/%b/%Y|' /etc/goaccess.conf
|
16
|
+
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
|
17
|
+
|
11
18
|
sed -i 's/ENABLED="false"/ENABLED="true"/' /etc/default/sysstat
|
12
19
|
/etc/init.d/sysstat restart
|
13
20
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sunzi-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kenn Ejima
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-01
|
12
|
+
date: 2016-02-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|