omnibus-ctl 0.6.4 → 0.6.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omnibus-ctl/version.rb +1 -1
- data/lib/omnibus-ctl.rb +4 -2
- metadata +18 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7197ee6e63058ae9f2fdfdda07cc4a562331488b4a6169ce0d88142aa74a0adf
|
4
|
+
data.tar.gz: bfefe15f23ccc0acc134f11a57fb0f6fd3d62b762f725204e5862c01b7815e28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65ffacc57db777f639ad233bb0e253374ffe61f6d81acbbaf78c0af02f3c974d97de135211032559958586b20e36b9d87065e231dd3a7b521926b26e7fd63e4e
|
7
|
+
data.tar.gz: ad9e3543a01fce12c742c7a05a128277ee84a0b516951c3d5d4fdd2de3d2fcd1dc61710443e73a5cc4f10c6a6ff5c87d06d2162fb9c4df568cac5362dd4a264d
|
data/lib/omnibus-ctl/version.rb
CHANGED
data/lib/omnibus-ctl.rb
CHANGED
@@ -15,6 +15,7 @@
|
|
15
15
|
#
|
16
16
|
|
17
17
|
require "omnibus-ctl/version"
|
18
|
+
require "chef-utils/dist" unless defined?(ChefUtils)
|
18
19
|
require "json" unless defined?(JSON)
|
19
20
|
require "fileutils" unless defined?(FileUtils)
|
20
21
|
|
@@ -437,8 +438,9 @@ EOM
|
|
437
438
|
|
438
439
|
# returns nil when chef-server-running.json does not exist
|
439
440
|
def running_config
|
440
|
-
|
441
|
-
|
441
|
+
fname = "#{etc_path}/#{::ChefUtils::Dist::Server::SERVER}-running.json"
|
442
|
+
@running_config ||= if File.exist?(fname)
|
443
|
+
JSON.parse(File.read(fname))
|
442
444
|
end
|
443
445
|
end
|
444
446
|
|
metadata
CHANGED
@@ -1,29 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omnibus-ctl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chef Software, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: chef-utils
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 16.5.54
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 16.5.54
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: chefstyle
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
16
30
|
requirements:
|
17
31
|
- - '='
|
18
32
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.0
|
33
|
+
version: 2.2.0
|
20
34
|
type: :development
|
21
35
|
prerelease: false
|
22
36
|
version_requirements: !ruby/object:Gem::Requirement
|
23
37
|
requirements:
|
24
38
|
- - '='
|
25
39
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.0
|
40
|
+
version: 2.2.0
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rake
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|