anamo 1.1.5 → 1.1.6
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/anamo/node/thor.rb +8 -8
- data/lib/anamo/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: 586453a5253c2643575c16590d204750c37955588798836af4410bdf3bf3e084
|
|
4
|
+
data.tar.gz: 90ac2f8bfec0a17e0d45c64e631aa7af73cdf56b2116d1d66f46916a855bba31
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c9c282f8990a621689ed1325a5d2ab05716640f0393e605caa7561ea22c625ebf22ea98b8cfdf18de76c5cf7833c4e8fcb6ecbe6f465db986c0fd549ddfa077d
|
|
7
|
+
data.tar.gz: 6a01efef4859aff16d3b8cdc7446faf511924ab512493746f66bdda656c954908f3c9a50e26b07d35fa8af99b101c76f934101efcdba8c240a29ec9ee8c2186a
|
data/lib/anamo/node/thor.rb
CHANGED
|
@@ -50,14 +50,14 @@ module Anamo
|
|
|
50
50
|
ret['node']['os_release'] = Train.create('local').connection.os[:release]
|
|
51
51
|
|
|
52
52
|
# run a command on Linux/Unix/Mac
|
|
53
|
-
ret['node']['cpe'] conn.run_command('hostnamectl | grep "Static hostname: "').stdout
|
|
54
|
-
ret['node']['chassis'] conn.run_command('hostnamectl | grep "Chassis: "').stdout
|
|
55
|
-
ret['node']['machine_id'] conn.run_command('hostnamectl | grep "Machine ID: "').stdout
|
|
56
|
-
ret['node']['boot_id'] conn.run_command('hostnamectl | grep "Boot ID: "').stdout
|
|
57
|
-
ret['node']['virtualization'] conn.run_command('hostnamectl | grep "Virtualization: "').stdout
|
|
58
|
-
ret['node']['operating_system'] conn.run_command('hostnamectl | grep "Operating System: "').stdout
|
|
59
|
-
ret['node']['kernel'] conn.run_command('hostnamectl | grep "Kernel: "').stdout
|
|
60
|
-
ret['node']['architecture'] conn.run_command('hostnamectl | grep "Architecture: "').stdout
|
|
53
|
+
ret['node']['cpe'] = conn.run_command('hostnamectl | grep "Static hostname: "').stdout
|
|
54
|
+
ret['node']['chassis'] = conn.run_command('hostnamectl | grep "Chassis: "').stdout
|
|
55
|
+
ret['node']['machine_id'] = conn.run_command('hostnamectl | grep "Machine ID: "').stdout
|
|
56
|
+
ret['node']['boot_id'] = conn.run_command('hostnamectl | grep "Boot ID: "').stdout
|
|
57
|
+
ret['node']['virtualization'] = conn.run_command('hostnamectl | grep "Virtualization: "').stdout
|
|
58
|
+
ret['node']['operating_system'] = conn.run_command('hostnamectl | grep "Operating System: "').stdout
|
|
59
|
+
ret['node']['kernel'] = conn.run_command('hostnamectl | grep "Kernel: "').stdout
|
|
60
|
+
ret['node']['architecture'] = conn.run_command('hostnamectl | grep "Architecture: "').stdout
|
|
61
61
|
|
|
62
62
|
#Uname (General)
|
|
63
63
|
ret['node']['uname_sysname'] = Uname.sysname # => The operating system name. e.g. "SunOS"
|
data/lib/anamo/version.rb
CHANGED