fauxhai-ng 7.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +22 -0
  3. data/bin/fauxhai +23 -0
  4. data/lib/.DS_Store +0 -0
  5. data/lib/fauxhai.rb +18 -0
  6. data/lib/fauxhai/.DS_Store +0 -0
  7. data/lib/fauxhai/exception.rb +6 -0
  8. data/lib/fauxhai/fetcher.rb +79 -0
  9. data/lib/fauxhai/keys/id_dsa +12 -0
  10. data/lib/fauxhai/keys/id_dsa.pub +1 -0
  11. data/lib/fauxhai/keys/id_rsa +27 -0
  12. data/lib/fauxhai/keys/id_rsa.pub +1 -0
  13. data/lib/fauxhai/mocker.rb +143 -0
  14. data/lib/fauxhai/platforms/.DS_Store +0 -0
  15. data/lib/fauxhai/platforms/aix/.DS_Store +0 -0
  16. data/lib/fauxhai/platforms/aix/6.1.json +730 -0
  17. data/lib/fauxhai/platforms/aix/7.1.json +3128 -0
  18. data/lib/fauxhai/platforms/amazon/.DS_Store +0 -0
  19. data/lib/fauxhai/platforms/amazon/2.json +4581 -0
  20. data/lib/fauxhai/platforms/amazon/2015.03.json +3327 -0
  21. data/lib/fauxhai/platforms/amazon/2015.09.json +3385 -0
  22. data/lib/fauxhai/platforms/amazon/2016.03.json +3377 -0
  23. data/lib/fauxhai/platforms/amazon/2016.09.json +3384 -0
  24. data/lib/fauxhai/platforms/amazon/2017.03.json +3388 -0
  25. data/lib/fauxhai/platforms/amazon/2017.09.json +3409 -0
  26. data/lib/fauxhai/platforms/amazon/2018.03.json +3431 -0
  27. data/lib/fauxhai/platforms/arch/4.10.13-1-ARCH.json +1659 -0
  28. data/lib/fauxhai/platforms/centos/.DS_Store +0 -0
  29. data/lib/fauxhai/platforms/centos/5.11.json +4919 -0
  30. data/lib/fauxhai/platforms/centos/6.10.json +2685 -0
  31. data/lib/fauxhai/platforms/centos/6.8.json +2495 -0
  32. data/lib/fauxhai/platforms/centos/6.9.json +2692 -0
  33. data/lib/fauxhai/platforms/centos/7.3.1611.json +4077 -0
  34. data/lib/fauxhai/platforms/centos/7.4.1708.json +3799 -0
  35. data/lib/fauxhai/platforms/centos/7.5.1804.json +3794 -0
  36. data/lib/fauxhai/platforms/centos/7.6.1804.json +3795 -0
  37. data/lib/fauxhai/platforms/centos/7.6.1810.json +4620 -0
  38. data/lib/fauxhai/platforms/centos/7.7.1908.json +4052 -0
  39. data/lib/fauxhai/platforms/centos/8.json +5827 -0
  40. data/lib/fauxhai/platforms/chefspec/0.6.1.json +20 -0
  41. data/lib/fauxhai/platforms/clearos/.DS_Store +0 -0
  42. data/lib/fauxhai/platforms/clearos/7.4.json +6121 -0
  43. data/lib/fauxhai/platforms/debian/.DS_Store +0 -0
  44. data/lib/fauxhai/platforms/debian/10.json +2700 -0
  45. data/lib/fauxhai/platforms/debian/7.11.json +2932 -0
  46. data/lib/fauxhai/platforms/debian/8.10.json +3587 -0
  47. data/lib/fauxhai/platforms/debian/8.11.json +3595 -0
  48. data/lib/fauxhai/platforms/debian/8.9.json +3614 -0
  49. data/lib/fauxhai/platforms/debian/9.11.json +2928 -0
  50. data/lib/fauxhai/platforms/debian/9.2.json +3084 -0
  51. data/lib/fauxhai/platforms/debian/9.3.json +2929 -0
  52. data/lib/fauxhai/platforms/debian/9.4.json +2930 -0
  53. data/lib/fauxhai/platforms/debian/9.5.json +2928 -0
  54. data/lib/fauxhai/platforms/debian/9.6.json +2928 -0
  55. data/lib/fauxhai/platforms/debian/9.8.json +2928 -0
  56. data/lib/fauxhai/platforms/debian/9.9.json +2928 -0
  57. data/lib/fauxhai/platforms/dragonfly4/4.8-RELEASE.json +387 -0
  58. data/lib/fauxhai/platforms/fedora/.DS_Store +0 -0
  59. data/lib/fauxhai/platforms/fedora/26.json +3565 -0
  60. data/lib/fauxhai/platforms/fedora/27.json +3629 -0
  61. data/lib/fauxhai/platforms/fedora/28.json +3795 -0
  62. data/lib/fauxhai/platforms/fedora/29.json +3826 -0
  63. data/lib/fauxhai/platforms/fedora/30.json +3854 -0
  64. data/lib/fauxhai/platforms/freebsd/.DS_Store +0 -0
  65. data/lib/fauxhai/platforms/freebsd/10.4.json +423 -0
  66. data/lib/fauxhai/platforms/freebsd/11.1.json +425 -0
  67. data/lib/fauxhai/platforms/freebsd/11.2.json +422 -0
  68. data/lib/fauxhai/platforms/gentoo/.DS_Store +0 -0
  69. data/lib/fauxhai/platforms/gentoo/4.9.95-gentoo.json +980 -0
  70. data/lib/fauxhai/platforms/linuxmint/.DS_Store +0 -0
  71. data/lib/fauxhai/platforms/linuxmint/18.3.json +10350 -0
  72. data/lib/fauxhai/platforms/linuxmint/19.0.json +9643 -0
  73. data/lib/fauxhai/platforms/mac_os_x/.DS_Store +0 -0
  74. data/lib/fauxhai/platforms/mac_os_x/10.11.json +976 -0
  75. data/lib/fauxhai/platforms/mac_os_x/10.12.json +974 -0
  76. data/lib/fauxhai/platforms/mac_os_x/10.13.json +1338 -0
  77. data/lib/fauxhai/platforms/mac_os_x/10.14.json +1345 -0
  78. data/lib/fauxhai/platforms/mac_os_x/10.15.json +1629 -0
  79. data/lib/fauxhai/platforms/openbsd/.DS_Store +0 -0
  80. data/lib/fauxhai/platforms/openbsd/6.2.json +290 -0
  81. data/lib/fauxhai/platforms/opensuse/.DS_Store +0 -0
  82. data/lib/fauxhai/platforms/opensuse/15.0.json +1714 -0
  83. data/lib/fauxhai/platforms/opensuse/42.2.json +7200 -0
  84. data/lib/fauxhai/platforms/opensuse/42.3.json +8205 -0
  85. data/lib/fauxhai/platforms/oracle/.DS_Store +0 -0
  86. data/lib/fauxhai/platforms/oracle/5.11.json +7028 -0
  87. data/lib/fauxhai/platforms/oracle/6.10.json +4342 -0
  88. data/lib/fauxhai/platforms/oracle/6.8.json +6170 -0
  89. data/lib/fauxhai/platforms/oracle/6.9.json +4176 -0
  90. data/lib/fauxhai/platforms/oracle/7.3.json +6354 -0
  91. data/lib/fauxhai/platforms/oracle/7.4.json +6389 -0
  92. data/lib/fauxhai/platforms/oracle/7.5.json +6585 -0
  93. data/lib/fauxhai/platforms/oracle/7.6.json +6585 -0
  94. data/lib/fauxhai/platforms/raspbian/8.0.json +466 -0
  95. data/lib/fauxhai/platforms/redhat/.DS_Store +0 -0
  96. data/lib/fauxhai/platforms/redhat/5.11.json +6681 -0
  97. data/lib/fauxhai/platforms/redhat/6.10.json +5807 -0
  98. data/lib/fauxhai/platforms/redhat/6.8.json +5737 -0
  99. data/lib/fauxhai/platforms/redhat/6.9.json +5807 -0
  100. data/lib/fauxhai/platforms/redhat/7.3.json +3860 -0
  101. data/lib/fauxhai/platforms/redhat/7.4.json +3876 -0
  102. data/lib/fauxhai/platforms/redhat/7.5.json +3937 -0
  103. data/lib/fauxhai/platforms/redhat/7.6.json +3952 -0
  104. data/lib/fauxhai/platforms/redhat/8.json +4494 -0
  105. data/lib/fauxhai/platforms/smartos/5.11.json +1677 -0
  106. data/lib/fauxhai/platforms/solaris2/.DS_Store +0 -0
  107. data/lib/fauxhai/platforms/solaris2/5.11.json +8902 -0
  108. data/lib/fauxhai/platforms/suse/.DS_Store +0 -0
  109. data/lib/fauxhai/platforms/suse/11.4.json +5688 -0
  110. data/lib/fauxhai/platforms/suse/12.1.json +5823 -0
  111. data/lib/fauxhai/platforms/suse/12.2.json +5124 -0
  112. data/lib/fauxhai/platforms/suse/12.3.json +5838 -0
  113. data/lib/fauxhai/platforms/suse/12.4.json +5874 -0
  114. data/lib/fauxhai/platforms/suse/15.json +5928 -0
  115. data/lib/fauxhai/platforms/ubuntu/.DS_Store +0 -0
  116. data/lib/fauxhai/platforms/ubuntu/14.04.json +2998 -0
  117. data/lib/fauxhai/platforms/ubuntu/16.04.json +3766 -0
  118. data/lib/fauxhai/platforms/ubuntu/17.10.json +3739 -0
  119. data/lib/fauxhai/platforms/ubuntu/18.04.json +3926 -0
  120. data/lib/fauxhai/platforms/windows/.DS_Store +0 -0
  121. data/lib/fauxhai/platforms/windows/10.json +423 -0
  122. data/lib/fauxhai/platforms/windows/2008R2.json +443 -0
  123. data/lib/fauxhai/platforms/windows/2012.json +396 -0
  124. data/lib/fauxhai/platforms/windows/2012R2.json +398 -0
  125. data/lib/fauxhai/platforms/windows/2016.json +400 -0
  126. data/lib/fauxhai/platforms/windows/2019.json +400 -0
  127. data/lib/fauxhai/platforms/windows/8.1.json +408 -0
  128. data/lib/fauxhai/runner.rb +44 -0
  129. data/lib/fauxhai/runner/default.rb +284 -0
  130. data/lib/fauxhai/runner/windows.rb +101 -0
  131. data/lib/fauxhai/version.rb +3 -0
  132. metadata +261 -0
@@ -0,0 +1,284 @@
1
+ module Fauxhai
2
+ class Runner
3
+ module Default
4
+ def bin_dir
5
+ '/usr/local/bin'
6
+ end
7
+
8
+ def counters
9
+ {
10
+ 'network' => {
11
+ 'interfaces' => {
12
+ 'lo' => {
13
+ 'tx' => {
14
+ 'queuelen' => '1',
15
+ 'bytes' => 0,
16
+ 'packets' => 0,
17
+ 'errors' => 0,
18
+ 'drop' => 0,
19
+ 'carrier' => 0,
20
+ 'collisions' => 0,
21
+ },
22
+ 'rx' => {
23
+ 'bytes' => 0,
24
+ 'packets' => 0,
25
+ 'errors' => 0,
26
+ 'drop' => 0,
27
+ 'overrun' => 0,
28
+ },
29
+ },
30
+ default_interface.to_s => {
31
+ 'rx' => {
32
+ 'bytes' => 0,
33
+ 'packets' => 0,
34
+ 'errors' => 0,
35
+ 'drop' => 0,
36
+ 'overrun' => 0,
37
+ 'frame' => 0,
38
+ 'compressed' => 0,
39
+ 'multicast' => 0,
40
+ },
41
+ 'tx' => {
42
+ 'bytes' => 0,
43
+ 'packets' => 0,
44
+ 'errors' => 0,
45
+ 'drop' => 0,
46
+ 'overrun' => 0,
47
+ 'collisions' => 0,
48
+ 'carrier' => 0,
49
+ 'compressed' => 0,
50
+ },
51
+ },
52
+ },
53
+ },
54
+ }
55
+ end
56
+
57
+ def current_user
58
+ 'fauxhai'
59
+ end
60
+
61
+ def default_gateway
62
+ '10.0.0.1'
63
+ end
64
+
65
+ def default_interface
66
+ case @system.data['platform_family']
67
+ when 'mac_os_x'
68
+ 'en0'
69
+ when /bsd/
70
+ 'em0'
71
+ when 'arch', 'fedora'
72
+ 'enp0s3'
73
+ else
74
+ 'eth0'
75
+ end
76
+ end
77
+
78
+ def domain
79
+ 'local'
80
+ end
81
+
82
+ def fqdn
83
+ 'fauxhai.local'
84
+ end
85
+
86
+ def gem_bin
87
+ '/usr/local/bin/gem'
88
+ end
89
+
90
+ def gems_dir
91
+ '/usr/local/gems'
92
+ end
93
+
94
+ def hostname
95
+ 'Fauxhai'
96
+ end
97
+
98
+ def ipaddress
99
+ '10.0.0.2'
100
+ end
101
+
102
+ def ip6address
103
+ 'fe80:0:0:0:0:0:a00:2'
104
+ end
105
+
106
+ def keys
107
+ {
108
+ 'ssh' => ssh,
109
+ }
110
+ end
111
+
112
+ def languages
113
+ {
114
+ 'ruby' => @system.data['languages']['ruby'].merge('bin_dir' => bin_dir,
115
+ 'gem_bin' => gem_bin,
116
+ 'gems_dir' => gems_dir,
117
+ 'ruby_bin' => ruby_bin),
118
+ 'powershell' => @system.data['languages']['powershell'],
119
+ }
120
+ end
121
+
122
+ def macaddress
123
+ '11:11:11:11:11:11'
124
+ end
125
+
126
+ def network
127
+ {
128
+ 'interfaces' => {
129
+ 'lo' => {
130
+ 'mtu' => '65536',
131
+ 'flags' => %w(LOOPBACK UP LOWER_UP),
132
+ 'encapsulation' => 'Loopback',
133
+ 'addresses' => {
134
+ '127.0.0.1' => {
135
+ 'family' => 'inet',
136
+ 'prefixlen' => '8',
137
+ 'netmask' => '255.0.0.0',
138
+ 'scope' => 'Node',
139
+ 'ip_scope' => 'LOOPBACK',
140
+ },
141
+ '::1' => {
142
+ 'family' => 'inet6',
143
+ 'prefixlen' => '128',
144
+ 'scope' => 'Node',
145
+ 'tags' => [],
146
+ 'ip_scope' => 'LINK LOCAL LOOPBACK',
147
+ },
148
+ },
149
+ 'state' => 'unknown',
150
+ },
151
+ default_interface.to_s => {
152
+ 'type' => default_interface.chop,
153
+ 'number' => '0',
154
+ 'mtu' => '1500',
155
+ 'flags' => %w(BROADCAST MULTICAST UP LOWER_UP),
156
+ 'encapsulation' => 'Ethernet',
157
+ 'addresses' => {
158
+ macaddress.to_s => {
159
+ 'family' => 'lladdr',
160
+ },
161
+ ipaddress.to_s => {
162
+ 'family' => 'inet',
163
+ 'prefixlen' => '24',
164
+ 'netmask' => '255.255.255.0',
165
+ 'broadcast' => '10.0.0.255',
166
+ 'scope' => 'Global',
167
+ 'ip_scope' => 'RFC1918 PRIVATE',
168
+ },
169
+ 'fe80::11:1111:1111:1111' => {
170
+ 'family' => 'inet6',
171
+ 'prefixlen' => '64',
172
+ 'scope' => 'Link',
173
+ 'tags' => [],
174
+ 'ip_scope' => 'LINK LOCAL UNICAST',
175
+ },
176
+ },
177
+ 'state' => 'up',
178
+ 'arp' => {
179
+ '10.0.0.1' => 'fe:ff:ff:ff:ff:ff',
180
+ },
181
+ 'routes' => [
182
+ {
183
+ 'destination' => 'default',
184
+ 'family' => 'inet',
185
+ 'via' => default_gateway,
186
+ },
187
+ {
188
+ 'destination' => '10.0.0.0/24',
189
+ 'family' => 'inet',
190
+ 'scope' => 'link',
191
+ 'proto' => 'kernel',
192
+ 'src' => ipaddress,
193
+ },
194
+ {
195
+ 'destination' => 'fe80::/64',
196
+ 'family' => 'inet6',
197
+ 'metric' => '256',
198
+ 'proto' => 'kernel',
199
+ },
200
+ ],
201
+ 'ring_params' => {},
202
+ },
203
+ },
204
+ 'default_interface' => default_interface,
205
+ 'default_gateway' => default_gateway,
206
+ }
207
+ end
208
+
209
+ def ruby_bin
210
+ '/usr/local/bin/ruby'
211
+ end
212
+
213
+ def ssh
214
+ {
215
+ 'host_dsa_public' => File.read(File.join(Fauxhai.root, 'lib', 'fauxhai', 'keys', 'id_dsa.pub')).strip,
216
+ 'host_rsa_public' => File.read(File.join(Fauxhai.root, 'lib', 'fauxhai', 'keys', 'id_rsa.pub')).strip,
217
+ }
218
+ end
219
+
220
+ def uptime
221
+ '30 days 15 hours 07 minutes 30 seconds'
222
+ end
223
+
224
+ def uptime_seconds
225
+ 2646450
226
+ end
227
+
228
+ def cpu
229
+ {
230
+ 'real' => 1,
231
+ 'total' => 1,
232
+ 'cores' => 1,
233
+ }
234
+ end
235
+
236
+ def memory
237
+ {
238
+ 'total' => '1048576kB',
239
+ }
240
+ end
241
+
242
+ def virtualization
243
+ {
244
+ 'systems' => {},
245
+ }
246
+ end
247
+
248
+ def time
249
+ {
250
+ 'timezone' => 'GMT',
251
+ }
252
+ end
253
+
254
+ # Whitelist attributes are attributes that we *actually* want from the node. Other attributes are
255
+ # either ignored or overridden, but we ensure these are returned with the command.
256
+ #
257
+ # @return [Array] - the key of whitelisted attributes
258
+ def whitelist_attributes
259
+ %w(
260
+ block_device
261
+ chef_packages
262
+ command
263
+ dmi
264
+ filesystem
265
+ fips
266
+ init_package
267
+ kernel
268
+ lsb
269
+ ohai_time
270
+ os
271
+ os_version
272
+ packages
273
+ platform
274
+ platform_version
275
+ platform_build
276
+ platform_family
277
+ root_group
278
+ shard_seed
279
+ shells
280
+ )
281
+ end
282
+ end
283
+ end
284
+ end
@@ -0,0 +1,101 @@
1
+ module Fauxhai
2
+ class Runner
3
+ module Windows
4
+ require 'fauxhai/runner/default'
5
+ include ::Fauxhai::Runner::Default
6
+
7
+ def default_interface
8
+ '0xe'
9
+ end
10
+
11
+ def network
12
+ {
13
+ 'interfaces' => {
14
+ "#{default_interface}" => {
15
+ 'configuration' => {
16
+ 'caption' => '[00000012] Ethernet Adapter',
17
+ 'database_path' => '%SystemRoot%\\System32\\drivers\\etc',
18
+ 'default_ip_gateway' => %w(default_gateway),
19
+ 'description' => 'Ethernet Adapter',
20
+ 'dhcp_enabled' => false,
21
+ 'dns_domain_suffix_search_order' => [],
22
+ 'dns_enabled_for_wins_resolution' => false,
23
+ 'dns_host_name' => hostname,
24
+ 'domain_dns_registration_enabled' => false,
25
+ 'full_dns_registration_enabled' => true,
26
+ 'gateway_cost_metric' => [0],
27
+ 'index' => 12,
28
+ 'interface_index' => 14,
29
+ 'ip_address' => [ipaddress],
30
+ 'ip_connection_metric' => 5,
31
+ 'ip_enabled' => true,
32
+ 'ip_filter_security_enabled' => false,
33
+ 'ip_sec_permit_ip_protocols' => [],
34
+ 'ip_sec_permit_tcp_ports' => [],
35
+ 'ip_sec_permit_udp_ports' => [],
36
+ 'ip_subnet' => %w(255.255.255.0 64),
37
+ 'mac_address' => macaddress,
38
+ 'service_name' => 'netkvm',
39
+ 'setting_id' => '{00000000-0000-0000-0000-000000000000}',
40
+ 'tcpip_netbios_options' => 0,
41
+ 'tcp_window_size' => 64240,
42
+ 'wins_enable_lm_hosts_lookup' => true,
43
+ 'wins_scope_id' => '',
44
+ },
45
+ 'instance' => {
46
+ 'adapter_type' => 'Ethernet 802.3',
47
+ 'adapter_type_id' => 0,
48
+ 'availability' => 3,
49
+ 'caption' => '[00000012] Ethernet Adapter',
50
+ 'config_manager_error_code' => 0,
51
+ 'config_manager_user_config' => false,
52
+ 'creation_class_name' => 'Win32_NetworkAdapter',
53
+ 'description' => 'Ethernet Adapter',
54
+ 'device_id' => '12',
55
+ 'guid' => '{00000000-0000-0000-0000-000000000000}',
56
+ 'index' => 12,
57
+ 'installed' => true,
58
+ 'interface_index' => 14,
59
+ 'mac_address' => macaddress,
60
+ 'manufacturer' => '',
61
+ 'max_number_controlled' => 0,
62
+ 'name' => 'Ethernet Adapter',
63
+ 'net_connection_id' => 'Ethernet',
64
+ 'net_connection_status' => 2,
65
+ 'net_enabled' => true,
66
+ 'physical_adapter' => true,
67
+ 'pnp_device_id' => 'PCI\\VEN_0000&DEV_0000&SUBSYS_000000000&REV_00\\0&0000000000&00',
68
+ 'power_management_supported' => false,
69
+ 'product_name' => 'Ethernet Adapter',
70
+ 'service_name' => 'netkvm',
71
+ 'speed' => '10000000000',
72
+ 'system_creation_class_name' => 'Win32_ComputerSystem',
73
+ 'system_name' => hostname,
74
+ 'time_of_last_reset' => '20000101000001.000000+000'
75
+ },
76
+ 'counters' => {},
77
+ 'addresses' => {
78
+ "#{ipaddress}" => {
79
+ 'prefixlen' => '24',
80
+ 'netmask' => '255.255.255.0',
81
+ 'broadcast' => '10.0.0.255',
82
+ 'family' => 'inet'
83
+ },
84
+ "#{macaddress}" => {
85
+ 'family' => 'lladdr'
86
+ }
87
+ },
88
+ 'type' => 'Ethernet 802.3',
89
+ 'arp' => {
90
+ '10.0.0.1' => 'fe:ff:ff:ff:ff:ff'
91
+ },
92
+ 'encapsulation' => 'Ethernet'
93
+ }
94
+ },
95
+ 'default_gateway' => default_gateway,
96
+ 'default_interface' => default_interface
97
+ }
98
+ end
99
+ end
100
+ end
101
+ end
@@ -0,0 +1,3 @@
1
+ module Fauxhai
2
+ VERSION = '7.5.0'.freeze
3
+ end
metadata ADDED
@@ -0,0 +1,261 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fauxhai-ng
3
+ version: !ruby/object:Gem::Version
4
+ version: 7.5.0
5
+ platform: ruby
6
+ authors:
7
+ - Seth Vargo
8
+ - Tim Smith
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2019-10-09 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: net-ssh
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: '0'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: chef
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '13.0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '13.0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: ohai
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '13.0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '13.0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rake
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: rspec
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '3.7'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '3.7'
84
+ - !ruby/object:Gem::Dependency
85
+ name: rspec-its
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '1.2'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: '1.2'
98
+ description: Easily mock out ohai data
99
+ email:
100
+ - sethvargo@gmail.com
101
+ - tsmith84@gmail.com
102
+ executables:
103
+ - fauxhai
104
+ extensions: []
105
+ extra_rdoc_files: []
106
+ files:
107
+ - LICENSE
108
+ - bin/fauxhai
109
+ - lib/.DS_Store
110
+ - lib/fauxhai.rb
111
+ - lib/fauxhai/.DS_Store
112
+ - lib/fauxhai/exception.rb
113
+ - lib/fauxhai/fetcher.rb
114
+ - lib/fauxhai/keys/id_dsa
115
+ - lib/fauxhai/keys/id_dsa.pub
116
+ - lib/fauxhai/keys/id_rsa
117
+ - lib/fauxhai/keys/id_rsa.pub
118
+ - lib/fauxhai/mocker.rb
119
+ - lib/fauxhai/platforms/.DS_Store
120
+ - lib/fauxhai/platforms/aix/.DS_Store
121
+ - lib/fauxhai/platforms/aix/6.1.json
122
+ - lib/fauxhai/platforms/aix/7.1.json
123
+ - lib/fauxhai/platforms/amazon/.DS_Store
124
+ - lib/fauxhai/platforms/amazon/2.json
125
+ - lib/fauxhai/platforms/amazon/2015.03.json
126
+ - lib/fauxhai/platforms/amazon/2015.09.json
127
+ - lib/fauxhai/platforms/amazon/2016.03.json
128
+ - lib/fauxhai/platforms/amazon/2016.09.json
129
+ - lib/fauxhai/platforms/amazon/2017.03.json
130
+ - lib/fauxhai/platforms/amazon/2017.09.json
131
+ - lib/fauxhai/platforms/amazon/2018.03.json
132
+ - lib/fauxhai/platforms/arch/4.10.13-1-ARCH.json
133
+ - lib/fauxhai/platforms/centos/.DS_Store
134
+ - lib/fauxhai/platforms/centos/5.11.json
135
+ - lib/fauxhai/platforms/centos/6.10.json
136
+ - lib/fauxhai/platforms/centos/6.8.json
137
+ - lib/fauxhai/platforms/centos/6.9.json
138
+ - lib/fauxhai/platforms/centos/7.3.1611.json
139
+ - lib/fauxhai/platforms/centos/7.4.1708.json
140
+ - lib/fauxhai/platforms/centos/7.5.1804.json
141
+ - lib/fauxhai/platforms/centos/7.6.1804.json
142
+ - lib/fauxhai/platforms/centos/7.6.1810.json
143
+ - lib/fauxhai/platforms/centos/7.7.1908.json
144
+ - lib/fauxhai/platforms/centos/8.json
145
+ - lib/fauxhai/platforms/chefspec/0.6.1.json
146
+ - lib/fauxhai/platforms/clearos/.DS_Store
147
+ - lib/fauxhai/platforms/clearos/7.4.json
148
+ - lib/fauxhai/platforms/debian/.DS_Store
149
+ - lib/fauxhai/platforms/debian/10.json
150
+ - lib/fauxhai/platforms/debian/7.11.json
151
+ - lib/fauxhai/platforms/debian/8.10.json
152
+ - lib/fauxhai/platforms/debian/8.11.json
153
+ - lib/fauxhai/platforms/debian/8.9.json
154
+ - lib/fauxhai/platforms/debian/9.11.json
155
+ - lib/fauxhai/platforms/debian/9.2.json
156
+ - lib/fauxhai/platforms/debian/9.3.json
157
+ - lib/fauxhai/platforms/debian/9.4.json
158
+ - lib/fauxhai/platforms/debian/9.5.json
159
+ - lib/fauxhai/platforms/debian/9.6.json
160
+ - lib/fauxhai/platforms/debian/9.8.json
161
+ - lib/fauxhai/platforms/debian/9.9.json
162
+ - lib/fauxhai/platforms/dragonfly4/4.8-RELEASE.json
163
+ - lib/fauxhai/platforms/fedora/.DS_Store
164
+ - lib/fauxhai/platforms/fedora/26.json
165
+ - lib/fauxhai/platforms/fedora/27.json
166
+ - lib/fauxhai/platforms/fedora/28.json
167
+ - lib/fauxhai/platforms/fedora/29.json
168
+ - lib/fauxhai/platforms/fedora/30.json
169
+ - lib/fauxhai/platforms/freebsd/.DS_Store
170
+ - lib/fauxhai/platforms/freebsd/10.4.json
171
+ - lib/fauxhai/platforms/freebsd/11.1.json
172
+ - lib/fauxhai/platforms/freebsd/11.2.json
173
+ - lib/fauxhai/platforms/gentoo/.DS_Store
174
+ - lib/fauxhai/platforms/gentoo/4.9.95-gentoo.json
175
+ - lib/fauxhai/platforms/linuxmint/.DS_Store
176
+ - lib/fauxhai/platforms/linuxmint/18.3.json
177
+ - lib/fauxhai/platforms/linuxmint/19.0.json
178
+ - lib/fauxhai/platforms/mac_os_x/.DS_Store
179
+ - lib/fauxhai/platforms/mac_os_x/10.11.json
180
+ - lib/fauxhai/platforms/mac_os_x/10.12.json
181
+ - lib/fauxhai/platforms/mac_os_x/10.13.json
182
+ - lib/fauxhai/platforms/mac_os_x/10.14.json
183
+ - lib/fauxhai/platforms/mac_os_x/10.15.json
184
+ - lib/fauxhai/platforms/openbsd/.DS_Store
185
+ - lib/fauxhai/platforms/openbsd/6.2.json
186
+ - lib/fauxhai/platforms/opensuse/.DS_Store
187
+ - lib/fauxhai/platforms/opensuse/15.0.json
188
+ - lib/fauxhai/platforms/opensuse/42.2.json
189
+ - lib/fauxhai/platforms/opensuse/42.3.json
190
+ - lib/fauxhai/platforms/oracle/.DS_Store
191
+ - lib/fauxhai/platforms/oracle/5.11.json
192
+ - lib/fauxhai/platforms/oracle/6.10.json
193
+ - lib/fauxhai/platforms/oracle/6.8.json
194
+ - lib/fauxhai/platforms/oracle/6.9.json
195
+ - lib/fauxhai/platforms/oracle/7.3.json
196
+ - lib/fauxhai/platforms/oracle/7.4.json
197
+ - lib/fauxhai/platforms/oracle/7.5.json
198
+ - lib/fauxhai/platforms/oracle/7.6.json
199
+ - lib/fauxhai/platforms/raspbian/8.0.json
200
+ - lib/fauxhai/platforms/redhat/.DS_Store
201
+ - lib/fauxhai/platforms/redhat/5.11.json
202
+ - lib/fauxhai/platforms/redhat/6.10.json
203
+ - lib/fauxhai/platforms/redhat/6.8.json
204
+ - lib/fauxhai/platforms/redhat/6.9.json
205
+ - lib/fauxhai/platforms/redhat/7.3.json
206
+ - lib/fauxhai/platforms/redhat/7.4.json
207
+ - lib/fauxhai/platforms/redhat/7.5.json
208
+ - lib/fauxhai/platforms/redhat/7.6.json
209
+ - lib/fauxhai/platforms/redhat/8.json
210
+ - lib/fauxhai/platforms/smartos/5.11.json
211
+ - lib/fauxhai/platforms/solaris2/.DS_Store
212
+ - lib/fauxhai/platforms/solaris2/5.11.json
213
+ - lib/fauxhai/platforms/suse/.DS_Store
214
+ - lib/fauxhai/platforms/suse/11.4.json
215
+ - lib/fauxhai/platforms/suse/12.1.json
216
+ - lib/fauxhai/platforms/suse/12.2.json
217
+ - lib/fauxhai/platforms/suse/12.3.json
218
+ - lib/fauxhai/platforms/suse/12.4.json
219
+ - lib/fauxhai/platforms/suse/15.json
220
+ - lib/fauxhai/platforms/ubuntu/.DS_Store
221
+ - lib/fauxhai/platforms/ubuntu/14.04.json
222
+ - lib/fauxhai/platforms/ubuntu/16.04.json
223
+ - lib/fauxhai/platforms/ubuntu/17.10.json
224
+ - lib/fauxhai/platforms/ubuntu/18.04.json
225
+ - lib/fauxhai/platforms/windows/.DS_Store
226
+ - lib/fauxhai/platforms/windows/10.json
227
+ - lib/fauxhai/platforms/windows/2008R2.json
228
+ - lib/fauxhai/platforms/windows/2012.json
229
+ - lib/fauxhai/platforms/windows/2012R2.json
230
+ - lib/fauxhai/platforms/windows/2016.json
231
+ - lib/fauxhai/platforms/windows/2019.json
232
+ - lib/fauxhai/platforms/windows/8.1.json
233
+ - lib/fauxhai/runner.rb
234
+ - lib/fauxhai/runner/default.rb
235
+ - lib/fauxhai/runner/windows.rb
236
+ - lib/fauxhai/version.rb
237
+ homepage: https://github.com/chefspec/fauxhai
238
+ licenses:
239
+ - MIT
240
+ metadata: {}
241
+ post_install_message:
242
+ rdoc_options: []
243
+ require_paths:
244
+ - lib
245
+ required_ruby_version: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - ">="
248
+ - !ruby/object:Gem::Version
249
+ version: '2.3'
250
+ required_rubygems_version: !ruby/object:Gem::Requirement
251
+ requirements:
252
+ - - ">="
253
+ - !ruby/object:Gem::Version
254
+ version: '0'
255
+ requirements: []
256
+ rubygems_version: 3.0.3
257
+ signing_key:
258
+ specification_version: 4
259
+ summary: Fauxhai provides an easy way to mock out your ohai data for testing with
260
+ chefspec!
261
+ test_files: []