capistrano-atlas 0.1.9 → 0.2.0
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/capistrano/atlas/version.rb +1 -1
- data/lib/capistrano/tasks/enable_swap.rake +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 17fabd2ccbdb2576da14c4a9bcb6bfcf1369b0b1
|
|
4
|
+
data.tar.gz: db88375f4ab66466e465ebd50c7986337b3c382d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d92fffd9e8d165c4e6b6ccede3d3168eb0d03a1f18455af98e97afc881d79efda162c8426980bb7f77a3ec9be1017694c68d935025956fa657b9a567663905fb
|
|
7
|
+
data.tar.gz: 3ba976969f2329e12eabd96cbdad57b8d86fbb27ce6fdffb5e167e4a8e9dda469d4c33bb7f71fe8b624369313c746702869e2f888ca457d42024806b1ccdb783
|
|
@@ -16,9 +16,9 @@ namespace :atlas do
|
|
|
16
16
|
execute "sudo swapon /swapfile"
|
|
17
17
|
execute "sudo echo \"/swapfile none swap sw 0 0\" > /etc/fstab"
|
|
18
18
|
execute "sudo sysctl vm.swappiness=10"
|
|
19
|
-
execute "sudo echo \"vm.swappiness=10\"
|
|
19
|
+
execute "sudo echo \"vm.swappiness=10\" >> /etc/sysctl.conf"
|
|
20
20
|
execute "sudo sysctl vm.vfs_cache_pressure=50"
|
|
21
|
-
execute "sudo echo \"vm.vfs_cache_pressure = 50\"
|
|
21
|
+
execute "sudo echo \"vm.vfs_cache_pressure = 50\" >> /etc/sysctl.conf"
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
24
|
|