genesis_collector 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/genesis_collector/chef.rb +1 -1
- data/lib/genesis_collector/version.rb +1 -1
- 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: 1f0619d1b01b72236e2f844c1d141ee2bf861289
|
4
|
+
data.tar.gz: 992d133f7ab9a34cccfb8d54ffbf1c1fa0b3f519
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 076416aaf18533a416c707a93e9ca2f51e374a25e98e78925a3347cb05c224aab6c877ba0bb8edcb62d20ea939e022b975b51dfa021086a2b4d70987bb2011c4
|
7
|
+
data.tar.gz: 7f3e31002880b4e201cc5c38a0e76c63dad8a13268893999f78f4b23f7258bdb7453ec776d0b75b721d45fc80195dbdc6327c596baaa3c45c939718518df2c43
|
@@ -18,7 +18,7 @@ module GenesisCollector
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def collect_chef_from_knife
|
21
|
-
output = shellout_with_timeout('knife node show `hostname` -c /etc/chef/client.rb -a ohai_time -a run_list -a tags -a environment -a roles
|
21
|
+
output = shellout_with_timeout('knife node show `hostname` -c /etc/chef/client.rb -a ohai_time -a run_list -a tags -a environment -a roles --format json')
|
22
22
|
_hostname, parsed = JSON.parse(output).first
|
23
23
|
{
|
24
24
|
environment: parsed['environment'],
|