danarchy_deploy 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/danarchy_deploy/services/mongodb.rb +1 -1
- data/lib/danarchy_deploy/version.rb +1 -1
- data/templates/deploy_template.json +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67a6c37e98bde730eae9139b5014b661a2c6167f07fda928590500f6dde2b866
|
4
|
+
data.tar.gz: 1852912a6eef96e8d12be9f8d10a5826e699390dfb6cd4174806a9ad9bd99914
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7699641bdb4808db5d35468a907789a3afe41af672acdb528b10f47312d3c203f84801a9528057ae049362794ea129e5558666ad5df7274b708585bce2b06127
|
7
|
+
data.tar.gz: c81f6f69fd954c278fa0b08842b369d54d7080df73e3bd5bcb2dd51dfbaa95a0b6c933651de7ed6a7b30d52f9b9434c2ab280a3659863e8ad4e3bac403e42b71
|
@@ -59,7 +59,7 @@ module DanarchyDeploy
|
|
59
59
|
end
|
60
60
|
|
61
61
|
def self.generate_mongodb_conf
|
62
|
-
if
|
62
|
+
if File.readlines('/etc/security/limits.conf').grep(/mongodb/).empty?
|
63
63
|
entry = 'mongodb soft nofile 32000'
|
64
64
|
entry += 'mongodb hard nofile 64000'
|
65
65
|
File.open('/etc/security/limits.conf', 'a+') do |f|
|
@@ -37,8 +37,8 @@
|
|
37
37
|
],
|
38
38
|
"groups": [
|
39
39
|
{
|
40
|
-
|
41
|
-
|
40
|
+
"groupname": "groupname",
|
41
|
+
"gid": int
|
42
42
|
}
|
43
43
|
],
|
44
44
|
"services": {
|
@@ -48,7 +48,7 @@
|
|
48
48
|
"enable",
|
49
49
|
"restart"
|
50
50
|
]
|
51
|
-
}
|
51
|
+
},
|
52
52
|
"archives": [
|
53
53
|
{
|
54
54
|
"target": "/path/to/extract/to/",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danarchy_deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan James
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: danarchy_couchdb
|