sunzi-rails 0.2.17 → 0.2.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0724c6c29764917ecadfa8dc048a322a4246296d
4
- data.tar.gz: f2fa00a0d4f77b5b1ded1400b2e58f06baf27307
3
+ metadata.gz: aafcea0ff051a23dc4108376f63e3a4a91b81f15
4
+ data.tar.gz: ebd4a9d1f47b465ccd5a6a76b7c5506760830e5d
5
5
  SHA512:
6
- metadata.gz: 9fe756d5caa495847a56dd1ed7698c469674970e6ee24e08bbd730ea7aea3a6b37d5f0948f5ac1f2cc6095a8f7e6ace39cea63c8707929be8dc45bc620471247
7
- data.tar.gz: 45aca744db81a15a7f5525c56ebf65badfe3d7b9fbd95527b6b533519bf5b2afdbd79188e91bb04d7daa0f0848826eeaead651bdf3fe80d7b82c64228c889a91
6
+ metadata.gz: 90f10a75f69cb5cb5f4938c5c8ef054c6c8465293ad4821e02df6acb686ff2542f9dfd1ebe00cd2ff9901890b2ac8f5fc9cd635ce9843330b7d02b87025918a8
7
+ data.tar.gz: e1aad9e3e01e141d7b6aa51d05378809497cbef99d9e2b9f58ca72f97f8148157b832ed646e70d884e02198689a476a380484b83838c703111df320a64515601
data/lib/sunzi/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Sunzi
2
- VERSION = "0.2.17"
2
+ VERSION = "0.2.18"
3
3
  RUBY_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip
4
4
  RAILS_VERSION = "4.2"
5
5
  end
@@ -4,7 +4,7 @@ if sunzi.to_be_done "install analysers"; then
4
4
 
5
5
  sunzi.mute "apt-get update"
6
6
 
7
- sunzi.install "goaccess"
7
+ sunzi.install "goaccess" #TODO: http://goaccess.io/faq#howto-config
8
8
  sunzi.install "iotop"
9
9
  sunzi.install "sysstat"
10
10
 
@@ -0,0 +1,7 @@
1
+ if sunzi.to_be_done "setup noatime"; then
2
+ sed -i -- 's/defaults/defaults,noatime/g' /etc/fstab
3
+
4
+ mount -o remount /
5
+
6
+ sunzi.done "setup noatime"
7
+ fi
@@ -15,6 +15,7 @@ source recipes/passenger.sh
15
15
  source recipes/user.sh
16
16
  source recipes/analysers.sh
17
17
  source recipes/logrotate.sh
18
+ source recipes/noatime.sh
18
19
 
19
20
  sunzi.elapsed_time $start
20
21
 
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.17
4
+ version: 0.2.18
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-27 00:00:00.000000000 Z
12
+ date: 2016-01-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -131,6 +131,7 @@ files:
131
131
  - lib/templates/create/recipes/libraries.sh
132
132
  - lib/templates/create/recipes/logrotate.sh
133
133
  - lib/templates/create/recipes/mysql.sh
134
+ - lib/templates/create/recipes/noatime.sh
134
135
  - lib/templates/create/recipes/nodejs.sh
135
136
  - lib/templates/create/recipes/passenger.sh
136
137
  - lib/templates/create/recipes/postgres.sh