danarchy_deploy 0.2.2 → 0.2.3
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/danarchy_deploy/services/mongodb.rb +2 -2
- data/lib/danarchy_deploy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9792fba2a8998890e49926fb51a20670a139b8f028f772eda429a4664b6090c9
|
4
|
+
data.tar.gz: 1dca75853aad2879cfe30bf7c8f15688c3fef4e81dbcb79b993afc5f8815645b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b95c8e2bfeb5d1356edb6dd330533228f5a2a3961ec5caa66c6925bd48f6ed02a0eaeb73ea91772cb129d9adabc90e7dfbe0a33d164371e75f80e6cb0486eb0
|
7
|
+
data.tar.gz: 8f6aba47acd3bb2c71c2b0d20dac76e0bf340055209cd0908c23b46980ea2c4c70b4bc5793f24be71508787ab303b568fa915cddba93c8241e5f66be9f675f9f
|
@@ -60,8 +60,8 @@ module DanarchyDeploy
|
|
60
60
|
|
61
61
|
def self.generate_mongodb_conf
|
62
62
|
if File.readlines('/etc/security/limits.conf').grep(/mongodb/).empty?
|
63
|
-
entry = 'mongodb soft nofile 32000'
|
64
|
-
entry += 'mongodb hard nofile 64000'
|
63
|
+
entry = 'mongodb soft nofile 32000\n'
|
64
|
+
entry += 'mongodb hard nofile 64000\n'
|
65
65
|
File.open('/etc/security/limits.conf', 'a+') do |f|
|
66
66
|
f.write entry
|
67
67
|
end
|