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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7282c6d5655d36a9f4fe2685df951a4faf1abdc1df283d997b74d56ce11cfc9e
4
- data.tar.gz: 65ed14f1a804481aa53358439db88eed24654770ef253223ff607caf8b6e608d
3
+ metadata.gz: 67a6c37e98bde730eae9139b5014b661a2c6167f07fda928590500f6dde2b866
4
+ data.tar.gz: 1852912a6eef96e8d12be9f8d10a5826e699390dfb6cd4174806a9ad9bd99914
5
5
  SHA512:
6
- metadata.gz: 92582f2b1ae3b019c0add4a6eacad943929cf499f5c572bc01b7cd84a018366edb5a4f78b2638ae905688960f88003a5827fe059713a180f373f853cd36b62b3
7
- data.tar.gz: 8c23cd79d331bc93519eefc7e8e862534ce2bc83bd6a260b3bdd29437f4a6b965b87dc2f3f4ce34da39442a29bb643ea628f436bfef235f3b88bc794a33f405a
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 ! File.readlines('/etc/security/limits.conf').grep(/mongodb/)
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|
@@ -1,3 +1,3 @@
1
1
  module DanarchyDeploy
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -37,8 +37,8 @@
37
37
  ],
38
38
  "groups": [
39
39
  {
40
- "groupname": "groupname",
41
- "gid": int,
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.1
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-17 00:00:00.000000000 Z
11
+ date: 2020-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: danarchy_couchdb