fauxhai 2.3.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -28
- data/CONTRIBUTING.md +3 -3
- data/Gemfile +0 -1
- data/README.md +3 -3
- data/fauxhai.gemspec +2 -1
- data/lib/fauxhai/platforms/amazon/2015.03.json +323 -0
- data/lib/fauxhai/platforms/amazon/2015.09.json +332 -0
- data/lib/fauxhai/platforms/centos/5.0.json +710 -0
- data/lib/fauxhai/platforms/centos/5.1.json +730 -0
- data/lib/fauxhai/platforms/centos/5.10.json +288 -2092
- data/lib/fauxhai/platforms/centos/5.11.json +346 -3763
- data/lib/fauxhai/platforms/centos/5.2.json +742 -0
- data/lib/fauxhai/platforms/centos/5.3.json +770 -0
- data/lib/fauxhai/platforms/centos/5.4.json +774 -0
- data/lib/fauxhai/platforms/centos/5.5.json +790 -0
- data/lib/fauxhai/platforms/centos/5.6.json +874 -0
- data/lib/fauxhai/platforms/centos/5.7.json +878 -0
- data/lib/fauxhai/platforms/centos/5.8.json +333 -218
- data/lib/fauxhai/platforms/centos/5.9.json +355 -240
- data/lib/fauxhai/platforms/centos/6.0.json +332 -112
- data/lib/fauxhai/platforms/centos/6.1.json +633 -0
- data/lib/fauxhai/platforms/centos/6.2.json +462 -426
- data/lib/fauxhai/platforms/centos/6.3.json +470 -434
- data/lib/fauxhai/platforms/centos/6.4.json +389 -61
- data/lib/fauxhai/platforms/centos/6.5.json +280 -77
- data/lib/fauxhai/platforms/centos/6.6.json +372 -3680
- data/lib/fauxhai/platforms/centos/6.7.json +615 -0
- data/lib/fauxhai/platforms/centos/7.0.1406.json +294 -3611
- data/lib/fauxhai/platforms/centos/7.0.json +169 -2162
- data/lib/fauxhai/platforms/centos/7.1.1503.json +814 -0
- data/lib/fauxhai/platforms/debian/7.7.json +635 -0
- data/lib/fauxhai/platforms/debian/7.8.json +635 -0
- data/lib/fauxhai/platforms/debian/7.9.json +674 -0
- data/lib/fauxhai/platforms/debian/8.0.json +681 -0
- data/lib/fauxhai/platforms/debian/8.1.json +681 -0
- data/lib/fauxhai/platforms/debian/8.2.json +781 -0
- data/lib/fauxhai/platforms/debian/stretch/sid.json +611 -0
- data/lib/fauxhai/platforms/dragonfly4/4.2-RELEASE.json +155 -0
- data/lib/fauxhai/platforms/fedora/21.json +348 -91
- data/lib/fauxhai/platforms/fedora/22.json +752 -0
- data/lib/fauxhai/platforms/freebsd/10.0.json +1 -1
- data/lib/fauxhai/platforms/freebsd/10.1.json +316 -0
- data/lib/fauxhai/platforms/freebsd/10.2.json +316 -0
- data/lib/fauxhai/platforms/freebsd/9.1.json +141 -428
- data/lib/fauxhai/platforms/freebsd/9.2.json +25 -38
- data/lib/fauxhai/platforms/freebsd/9.3.json +316 -0
- data/lib/fauxhai/platforms/ios_xr/6.0.0.14I.json +342 -0
- data/lib/fauxhai/platforms/mac_os_x/10.11.1.json +857 -0
- data/lib/fauxhai/platforms/nexus/5.json +300 -0
- data/lib/fauxhai/platforms/omnios/151014.json +2422 -0
- data/lib/fauxhai/platforms/opensuse/12.3.json +249 -2208
- data/lib/fauxhai/platforms/opensuse/13.1.json +166 -2193
- data/lib/fauxhai/platforms/opensuse/13.2.json +646 -0
- data/lib/fauxhai/platforms/oracle/6.6.json +377 -0
- data/lib/fauxhai/platforms/oracle/7.0.json +627 -0
- data/lib/fauxhai/platforms/oracle/7.1.json +821 -0
- data/lib/fauxhai/platforms/redhat/6.6.json +519 -0
- data/lib/fauxhai/platforms/redhat/7.1.json +746 -0
- data/lib/fauxhai/platforms/solaris2/5.11.json +1 -0
- data/lib/fauxhai/platforms/ubuntu/12.04.json +257 -190
- data/lib/fauxhai/platforms/ubuntu/14.04.json +246 -184
- data/lib/fauxhai/platforms/ubuntu/15.04.json +643 -0
- data/lib/fauxhai/platforms/ubuntu/15.10.json +651 -0
- data/lib/fauxhai/platforms/windows/10.json +3545 -0
- data/lib/fauxhai/platforms/windows/2003R2.json +7887 -7887
- data/lib/fauxhai/platforms/windows/2008R2.json +532 -770
- data/lib/fauxhai/platforms/windows/2012.json +728 -1257
- data/lib/fauxhai/platforms/windows/2012R2.json +737 -1063
- data/lib/fauxhai/platforms/windows/8.1.json +3512 -0
- data/lib/fauxhai/platforms/windows/8.json +3926 -0
- data/lib/fauxhai/runner.rb +1 -0
- data/lib/fauxhai/version.rb +1 -1
- metadata +61 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 225eff1b3f5824fe9de509d89cc0248482dd267b
|
4
|
+
data.tar.gz: 27e6ff9dda4fd63db1260f2dae402ef82b2776e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 727aece05c818722fb5a47fb18ebb451369cece41fd0275b66e7b9af8eda6c7b4256f2af1168867ae07409e08f74f91c4131b613b733d05213ec18055d48828d
|
7
|
+
data.tar.gz: 10e1677adc55e64b984c89c1978bbb74892c9fd7ea0b1290cd2d9d7139e9172493a3f745fbe1baf6d6d71dd8f013b0f5a44f0eba6532c353583ad6780c4f5b56
|
data/CHANGELOG.md
CHANGED
@@ -1,69 +1,56 @@
|
|
1
|
-
Fauxhai Changelog
|
2
|
-
|
1
|
+
# Fauxhai Changelog
|
2
|
+
## v3.0.0
|
3
|
+
- Regenerated json files for all currently supported versions of Ubuntu, CentOS, FreeBSD, Debian, Fedora, and OpenSUSE. This new data is generated with Ohai output from Ohai 8.7.0 in Chef 12.5.1. This data is more accurate for mocking out current Chef setups, but is changed from the previous Fauxhai 2.3.0 release. If you relied on specific mocked data this may require updating your specs.
|
3
4
|
|
4
|
-
v2.3.0
|
5
|
-
------
|
5
|
+
## v2.3.0
|
6
6
|
- Annual release to add new versions bundled in the gem automatically ([#133][])
|
7
7
|
|
8
|
-
v2.2.0
|
9
|
-
------
|
8
|
+
## v2.2.0
|
10
9
|
- Fix an issue where OpenURI's error was not caught properly
|
11
10
|
- Add `memory` output to Fauxhai
|
12
11
|
|
13
|
-
v2.1.2
|
14
|
-
------
|
12
|
+
## v2.1.2
|
15
13
|
- Fix an issue when Chef is not installed on the system
|
16
14
|
- Add basic --version and --help flags
|
17
15
|
- Use fauxhai/version
|
18
16
|
|
19
|
-
v2.1.1
|
20
|
-
------
|
17
|
+
## v2.1.1
|
21
18
|
- Switch to OpenURI (#99)
|
22
19
|
|
23
|
-
v2.1.0
|
24
|
-
------
|
20
|
+
## v2.1.0
|
25
21
|
- Add CPU stanza information to all platforms
|
26
22
|
|
27
|
-
v2.0.1
|
28
|
-
------
|
23
|
+
## v2.0.1
|
29
24
|
Released 2013-12-12
|
30
|
-
|
31
25
|
- Fix critical error on networking interfaces ([@benbytheway][], [#51][])
|
32
26
|
|
33
|
-
v2.0.0
|
34
|
-
------
|
27
|
+
## v2.0.0
|
35
28
|
Released 2013-11-06
|
36
|
-
|
37
29
|
- Remove dependency on HTTParty
|
38
30
|
- Require Ruby 1.9
|
39
31
|
|
40
|
-
v1.1.1
|
41
|
-
------
|
32
|
+
## v1.1.1
|
42
33
|
Released 2013-06-03
|
43
|
-
|
44
34
|
- Add new LSB release information ([@pschultz][], [#32][])
|
45
35
|
|
46
|
-
v1.1.0
|
47
|
-
------
|
36
|
+
## v1.1.0
|
48
37
|
Released: 2013-05-21
|
49
|
-
|
50
38
|
- Fix typo in README ([@mapleoin][], [#29][])
|
51
39
|
- Rename `gem` to `spec` in gemspec
|
52
40
|
- Use Ruby's built-in JSON class
|
53
41
|
- Handle use case where an entire new operating system is created (15708ce)
|
54
42
|
- Add openSUSE 12.3 ([@mapleoin][], [#30][])
|
55
43
|
|
56
|
-
v1.0.0
|
57
|
-
------
|
44
|
+
## v1.0.0
|
58
45
|
Released: 2013-05-09
|
59
|
-
|
60
46
|
- Support `path` option to specify the fixture data ([#21][])
|
61
47
|
- Require `version` option for platform, drop (undocumented) support for default versions ([#25][], [#26][])
|
62
48
|
- Update gem paths on Ubuntu 10.04 data ([@anujbiyani][], [#18][], [#19][])
|
63
49
|
- Add SmartOS joyent_20130111T180733Z ([@sax][], [#23][])
|
64
50
|
- Add Debian 7.0 (Wheezy) ([@tmatilai][], [#24][])
|
51
|
+
- <!--- The following link definition list is generated by PimpMyChangelog --->
|
52
|
+
|
65
53
|
|
66
|
-
<!--- The following link definition list is generated by PimpMyChangelog --->
|
67
54
|
[#18]: https://github.com/customink/fauxhai/issues/18
|
68
55
|
[#19]: https://github.com/customink/fauxhai/issues/19
|
69
56
|
[#21]: https://github.com/customink/fauxhai/issues/21
|
data/CONTRIBUTING.md
CHANGED
@@ -16,16 +16,16 @@ Fauxhai is community-maintained and updated. Aside from the initial files, all o
|
|
16
16
|
|
17
17
|
4. This will create a file `fauxhai.json` at the specified path. As with any tool, inspect the contents of the file before continuing
|
18
18
|
5. Copy the contents of this file to your local development machine (using scp or sftp, for example)
|
19
|
-
6.
|
19
|
+
6. Fork, clone and `bundle`:
|
20
20
|
|
21
|
-
git clone
|
21
|
+
git clone https://github.com/<your username>/fauxhai.git
|
22
22
|
cd fauxhai
|
23
23
|
bundle
|
24
24
|
|
25
25
|
7. Create a new branch named `add_[platform]_[version]` (e.g. `add_ubuntu_12_04`) without dashes and dots replaced with underscores. Be sure to use the official version number, not a package name (e.g. '12_04', not 'precise') if available:
|
26
26
|
|
27
27
|
Ubuntu Precise, 12.04 add_ubuntu_12_04
|
28
|
-
Ubuntu Lucid,
|
28
|
+
Ubuntu Lucid, 10.04 add_ubuntu_10_04
|
29
29
|
OSX Lion, 10.7.4 add_osx_10_7_4
|
30
30
|
Windows XP add_windows_xp
|
31
31
|
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Fauxhai
|
2
2
|
=======
|
3
|
-
Fauxhai is a gem for mocking out [ohai](https://github.com/
|
3
|
+
Fauxhai is a gem for mocking out [ohai](https://github.com/chef/ohai) data in your chef testing. Fauxhai is community supported, so we need **your help** to populate our dataset. Here's an example for testing my "awesome_cookbook" on Ubuntu:
|
4
4
|
|
5
5
|
```ruby
|
6
6
|
require 'chefspec'
|
@@ -34,7 +34,7 @@ describe 'awesome_cookbook::default' do
|
|
34
34
|
end
|
35
35
|
```
|
36
36
|
|
37
|
-
Fauxhai supports [ChefSpec](https://github.com/
|
37
|
+
Fauxhai supports [ChefSpec](https://github.com/sethvargo/chefspec) and [rspec-chef](https://github.com/calavera/rspec-chef). In order to prevent polluting the README, only ChefSpec examples will be provided. However, there is an extensive README for each testing framework in the [examples](https://github.com/customink/fauxhai/tree/master/examples) directory.
|
38
38
|
|
39
39
|
Important Note
|
40
40
|
--------------
|
@@ -153,7 +153,7 @@ It's a common use case to test multiple version of the same operating system. He
|
|
153
153
|
require 'chefspec'
|
154
154
|
|
155
155
|
describe 'awesome_cookbook::default' do
|
156
|
-
['12.04', '11.
|
156
|
+
['12.04', '11.04', '10.04'].each do |version|
|
157
157
|
context "on Ubuntu #{version}" do
|
158
158
|
before do
|
159
159
|
Fauxhai.mock(platform: 'ubuntu', version: version)
|
data/fauxhai.gemspec
CHANGED
@@ -20,7 +20,8 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
22
22
|
spec.add_runtime_dependency 'net-ssh'
|
23
|
-
spec.add_runtime_dependency '
|
23
|
+
spec.add_runtime_dependency 'chef', '~> 12.0'
|
24
|
+
spec.add_runtime_dependency 'ohai', '~> 8.5'
|
24
25
|
|
25
26
|
spec.add_development_dependency 'rake'
|
26
27
|
end
|
@@ -0,0 +1,323 @@
|
|
1
|
+
{
|
2
|
+
"filesystem": {
|
3
|
+
"/dev/xvda1": {
|
4
|
+
"kb_size": "8123812",
|
5
|
+
"kb_used": "2149712",
|
6
|
+
"kb_available": "5873852",
|
7
|
+
"percent_used": "27%",
|
8
|
+
"mount": "/",
|
9
|
+
"total_inodes": "524288",
|
10
|
+
"inodes_used": "96553",
|
11
|
+
"inodes_available": "427735",
|
12
|
+
"inodes_percent_used": "19%",
|
13
|
+
"fs_type": "ext4",
|
14
|
+
"mount_options": [
|
15
|
+
"rw",
|
16
|
+
"noatime",
|
17
|
+
"data=ordered"
|
18
|
+
],
|
19
|
+
"uuid": "e57ff077-2c96-4a37-bd16-1722932e6126",
|
20
|
+
"label": "/"
|
21
|
+
},
|
22
|
+
"devtmpfs": {
|
23
|
+
"kb_size": "500896",
|
24
|
+
"kb_used": "56",
|
25
|
+
"kb_available": "500840",
|
26
|
+
"percent_used": "1%",
|
27
|
+
"mount": "/dev",
|
28
|
+
"total_inodes": "125224",
|
29
|
+
"inodes_used": "451",
|
30
|
+
"inodes_available": "124773",
|
31
|
+
"inodes_percent_used": "1%",
|
32
|
+
"fs_type": "devtmpfs",
|
33
|
+
"mount_options": [
|
34
|
+
"rw",
|
35
|
+
"relatime",
|
36
|
+
"size=500896k",
|
37
|
+
"nr_inodes=125224",
|
38
|
+
"mode=755"
|
39
|
+
]
|
40
|
+
},
|
41
|
+
"tmpfs": {
|
42
|
+
"kb_size": "510092",
|
43
|
+
"kb_used": "0",
|
44
|
+
"kb_available": "510092",
|
45
|
+
"percent_used": "0%",
|
46
|
+
"mount": "/dev/shm",
|
47
|
+
"total_inodes": "127523",
|
48
|
+
"inodes_used": "1",
|
49
|
+
"inodes_available": "127522",
|
50
|
+
"inodes_percent_used": "1%",
|
51
|
+
"fs_type": "tmpfs",
|
52
|
+
"mount_options": [
|
53
|
+
"rw",
|
54
|
+
"relatime"
|
55
|
+
]
|
56
|
+
},
|
57
|
+
"proc": {
|
58
|
+
"mount": "/proc",
|
59
|
+
"fs_type": "proc",
|
60
|
+
"mount_options": [
|
61
|
+
"rw",
|
62
|
+
"relatime"
|
63
|
+
]
|
64
|
+
},
|
65
|
+
"sysfs": {
|
66
|
+
"mount": "/sys",
|
67
|
+
"fs_type": "sysfs",
|
68
|
+
"mount_options": [
|
69
|
+
"rw",
|
70
|
+
"relatime"
|
71
|
+
]
|
72
|
+
},
|
73
|
+
"devpts": {
|
74
|
+
"mount": "/dev/pts",
|
75
|
+
"fs_type": "devpts",
|
76
|
+
"mount_options": [
|
77
|
+
"rw",
|
78
|
+
"relatime",
|
79
|
+
"gid=5",
|
80
|
+
"mode=620",
|
81
|
+
"ptmxmode=000"
|
82
|
+
]
|
83
|
+
},
|
84
|
+
"none": {
|
85
|
+
"mount": "/proc/sys/fs/binfmt_misc",
|
86
|
+
"fs_type": "binfmt_misc",
|
87
|
+
"mount_options": [
|
88
|
+
"rw",
|
89
|
+
"relatime"
|
90
|
+
]
|
91
|
+
},
|
92
|
+
"rootfs": {
|
93
|
+
"mount": "/",
|
94
|
+
"fs_type": "rootfs",
|
95
|
+
"mount_options": [
|
96
|
+
"rw"
|
97
|
+
]
|
98
|
+
}
|
99
|
+
},
|
100
|
+
"kernel": {
|
101
|
+
"name": "Linux",
|
102
|
+
"release": "3.14.35-28.38.amzn1.x86_64",
|
103
|
+
"version": "#1 SMP Wed Mar 11 22:50:37 UTC 2015",
|
104
|
+
"machine": "x86_64",
|
105
|
+
"os": "GNU/Linux",
|
106
|
+
"modules": {
|
107
|
+
"ipv6": {
|
108
|
+
"size": "353545",
|
109
|
+
"refcount": "38"
|
110
|
+
},
|
111
|
+
"binfmt_misc": {
|
112
|
+
"size": "7167",
|
113
|
+
"refcount": "1"
|
114
|
+
},
|
115
|
+
"i2c_piix4": {
|
116
|
+
"size": "9435",
|
117
|
+
"refcount": "0"
|
118
|
+
},
|
119
|
+
"evbug": {
|
120
|
+
"size": "2125",
|
121
|
+
"refcount": "0"
|
122
|
+
},
|
123
|
+
"evdev": {
|
124
|
+
"size": "11276",
|
125
|
+
"refcount": "0"
|
126
|
+
},
|
127
|
+
"psmouse": {
|
128
|
+
"size": "92786",
|
129
|
+
"refcount": "0"
|
130
|
+
},
|
131
|
+
"i2c_core": {
|
132
|
+
"size": "27053",
|
133
|
+
"refcount": "1"
|
134
|
+
},
|
135
|
+
"button": {
|
136
|
+
"size": "5503",
|
137
|
+
"refcount": "0"
|
138
|
+
},
|
139
|
+
"ext4": {
|
140
|
+
"size": "543478",
|
141
|
+
"refcount": "1"
|
142
|
+
},
|
143
|
+
"crc16": {
|
144
|
+
"size": "1691",
|
145
|
+
"refcount": "1"
|
146
|
+
},
|
147
|
+
"jbd2": {
|
148
|
+
"size": "106052",
|
149
|
+
"refcount": "1"
|
150
|
+
},
|
151
|
+
"mbcache": {
|
152
|
+
"size": "7950",
|
153
|
+
"refcount": "1"
|
154
|
+
},
|
155
|
+
"dm_mirror": {
|
156
|
+
"size": "13871",
|
157
|
+
"refcount": "0"
|
158
|
+
},
|
159
|
+
"dm_region_hash": {
|
160
|
+
"size": "11254",
|
161
|
+
"refcount": "1"
|
162
|
+
},
|
163
|
+
"dm_log": {
|
164
|
+
"size": "9451",
|
165
|
+
"refcount": "2"
|
166
|
+
},
|
167
|
+
"dm_mod": {
|
168
|
+
"size": "92854",
|
169
|
+
"refcount": "2"
|
170
|
+
}
|
171
|
+
}
|
172
|
+
},
|
173
|
+
"lsb": {
|
174
|
+
},
|
175
|
+
"os": "linux",
|
176
|
+
"os_version": "3.14.35-28.38.amzn1.x86_64",
|
177
|
+
"platform": "amazon",
|
178
|
+
"platform_version": "2015.03",
|
179
|
+
"platform_family": "rhel",
|
180
|
+
"ohai_time": 1435056330.522881,
|
181
|
+
"command": {
|
182
|
+
"ps": "ps -ef"
|
183
|
+
},
|
184
|
+
"dmi": {
|
185
|
+
},
|
186
|
+
"languages": {
|
187
|
+
"ruby": {
|
188
|
+
"platform": "x86_64-linux",
|
189
|
+
"version": "2.0.0",
|
190
|
+
"release_date": "2015-04-13",
|
191
|
+
"target": "x86_64-amazon-linux-gnu",
|
192
|
+
"target_cpu": "x86_64",
|
193
|
+
"target_vendor": "amazon",
|
194
|
+
"target_os": "linux",
|
195
|
+
"host": "x86_64-redhat-linux-gnu",
|
196
|
+
"host_cpu": "x86_64",
|
197
|
+
"host_os": "linux-gnu",
|
198
|
+
"host_vendor": "redhat",
|
199
|
+
"bin_dir": "/usr/local/bin",
|
200
|
+
"ruby_bin": "/usr/local/bin/ruby",
|
201
|
+
"gems_dir": "/usr/local/gems",
|
202
|
+
"gem_bin": "/usr/local/bin/gem"
|
203
|
+
},
|
204
|
+
"powershell": null
|
205
|
+
},
|
206
|
+
"chef_packages": {
|
207
|
+
"chef": {
|
208
|
+
"version": "12.3.0",
|
209
|
+
"chef_root": "/usr/local/gems/chef-12.3.0/lib"
|
210
|
+
},
|
211
|
+
"ohai": {
|
212
|
+
"version": "8.4.0",
|
213
|
+
"ohai_root": "/usr/local/gems/ohai-8.4.0/lib/ohai"
|
214
|
+
}
|
215
|
+
},
|
216
|
+
"counters": {
|
217
|
+
"network": {
|
218
|
+
"interfaces": {
|
219
|
+
"eth0": {
|
220
|
+
"rx": {
|
221
|
+
"bytes": "0",
|
222
|
+
"packets": "0",
|
223
|
+
"errors": "0",
|
224
|
+
"drop": 0,
|
225
|
+
"overrun": 0,
|
226
|
+
"frame": 0,
|
227
|
+
"compressed": 0,
|
228
|
+
"multicast": 0
|
229
|
+
},
|
230
|
+
"tx": {
|
231
|
+
"bytes": "342",
|
232
|
+
"packets": "0",
|
233
|
+
"errors": "0",
|
234
|
+
"drop": 0,
|
235
|
+
"overrun": 0,
|
236
|
+
"collisions": "0",
|
237
|
+
"carrier": 0,
|
238
|
+
"compressed": 0
|
239
|
+
}
|
240
|
+
}
|
241
|
+
}
|
242
|
+
}
|
243
|
+
},
|
244
|
+
"current_user": "fauxhai",
|
245
|
+
"domain": "local",
|
246
|
+
"etc": {
|
247
|
+
"passwd": {
|
248
|
+
"fauxhai": {
|
249
|
+
"dir": "/home/fauxhai",
|
250
|
+
"gid": 0,
|
251
|
+
"uid": 0,
|
252
|
+
"shell": "/bin/bash",
|
253
|
+
"gecos": "Fauxhai"
|
254
|
+
}
|
255
|
+
},
|
256
|
+
"group": {
|
257
|
+
"fauxhai": {
|
258
|
+
"gid": 0,
|
259
|
+
"members": [
|
260
|
+
"fauxhai"
|
261
|
+
]
|
262
|
+
}
|
263
|
+
}
|
264
|
+
},
|
265
|
+
"hostname": "Fauxhai",
|
266
|
+
"fqdn": "fauxhai.local",
|
267
|
+
"ipaddress": "10.0.0.2",
|
268
|
+
"keys": {
|
269
|
+
"ssh": {
|
270
|
+
"host_dsa_public": "ssh-dss AAAAB3NzaC1kc3MAAACBAJFo9BLAw4WKEs5hgipk5m423FzBsDXCZSMcC9ca/om/1VYzMqImixGe3uICDzNFUWxFoLJTQAOccyzo6MXZiQqwWJDLFi5qOSr6w2XcMyE+zd4wOyMoDiVM5fizmG8K3FzrqvGjwBcHcBdOQnavSijoj38DN25J9zhrid5BY4WlAAAAFQDxXrCyG52XCzn3FV4ej38wJBkomQAAAIBovGPJ4mP2P6BK8lHl0PPbktwQbWlpJ13oz6REJFDVcUi7vV26bX/BjQX+ohzZQzljdz1SpUbPc/8nuA4darYkVh91eBi307EN8IdxRHj2eBgp/ZG4yshIebG3WHrwJD/xUjjZ1MRfyDT1ermVi4LvjjPgWDxLZnPpMaR6S1nzgQAAAIEAj0Vd6DCWslvlsZ8+N53HWsqPi3gnx35JoLPz9Z2epkKIKqmEHav+93G3hdfztVa4I4t3phoPniQchYryF5+RNg8hqxKzjNtrIqUYCeuf2NJrksNsH7OZygPHZpqt4kTuwAGZxjxEGfAI0y8DhkU2ntp2LnzRnWH106BQBCmcXwo= fauxhai.local",
|
271
|
+
"host_rsa_public": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtLCeqtqr/HbnORckw1ukdLhpfGoOPFi5/esKEokzTqq1gsgQ2V8emmyjfq1i6XXfRtSBxkdlHv/GWdP5wBTuE2G85MzBkVSQPvmwQN8lX/JMPEEtKXkeOo0o92/PiSmvY4eRsdF0mw40Uvg7jtE3f3fxj497kzh5fKtkrHnF4x9gXCbVdr3FqXJfggR5IJwAxToerbK7x/uRS+7YuZI9Pip3tt14nv9ezwXcuGb/tvjWOZINiFl8izVIFKi7sxfTX09p4NgamxRS7TD2Yd0jT8nEoF9UZTsgXcJ1kDSx7N7NxFfNfP6rCdOGRRz4gUhXtsUjG/XkxPeCwZ7A9VnOD fauxhai.local"
|
272
|
+
}
|
273
|
+
},
|
274
|
+
"macaddress": "11:11:11:11:11:11",
|
275
|
+
"network": {
|
276
|
+
"default_gateway": "10.0.0.1",
|
277
|
+
"default_interface": "eth0",
|
278
|
+
"settings": {
|
279
|
+
},
|
280
|
+
"interfaces": {
|
281
|
+
"eth0": {
|
282
|
+
"addresses": {
|
283
|
+
"10.0.0.2": {
|
284
|
+
"broadcast": "10.0.0.255",
|
285
|
+
"family": "inet",
|
286
|
+
"netmask": "255.255.255.0",
|
287
|
+
"prefixlen": "23",
|
288
|
+
"scope": "Global"
|
289
|
+
}
|
290
|
+
},
|
291
|
+
"arp": {
|
292
|
+
"10.0.0.1": "fe:ff:ff:ff:ff:ff"
|
293
|
+
},
|
294
|
+
"encapsulation": "Ethernet",
|
295
|
+
"flags": [
|
296
|
+
"BROADCAST",
|
297
|
+
"MULTICAST",
|
298
|
+
"UP",
|
299
|
+
"LOWER_UP"
|
300
|
+
],
|
301
|
+
"mtu": "1500",
|
302
|
+
"number": "0",
|
303
|
+
"routes": {
|
304
|
+
"10.0.0.0/255": {
|
305
|
+
"scope": "link",
|
306
|
+
"src": "10.0.0.2"
|
307
|
+
}
|
308
|
+
},
|
309
|
+
"state": "up",
|
310
|
+
"type": "eth"
|
311
|
+
}
|
312
|
+
}
|
313
|
+
},
|
314
|
+
"uptime": "30 days 15 hours 07 minutes 30 seconds",
|
315
|
+
"uptime_seconds": 2646450,
|
316
|
+
"cpu": {
|
317
|
+
"real": 1,
|
318
|
+
"total": 1
|
319
|
+
},
|
320
|
+
"memory": {
|
321
|
+
"total": "1024MB"
|
322
|
+
}
|
323
|
+
}
|