fauxhai 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/CHANGELOG.md +10 -2
  4. data/fauxhai.gemspec +1 -1
  5. data/lib/fauxhai/platforms/amazon/2012.09.json +33 -30
  6. data/lib/fauxhai/platforms/centos/5.8.json +33 -30
  7. data/lib/fauxhai/platforms/centos/5.9.json +33 -30
  8. data/lib/fauxhai/platforms/centos/6.0.json +33 -30
  9. data/lib/fauxhai/platforms/centos/6.2.json +34 -31
  10. data/lib/fauxhai/platforms/centos/6.3.json +34 -31
  11. data/lib/fauxhai/platforms/centos/6.4.json +33 -30
  12. data/lib/fauxhai/platforms/debian/6.0.5.json +33 -30
  13. data/lib/fauxhai/platforms/debian/7.0.json +33 -30
  14. data/lib/fauxhai/platforms/debian/7.1.json +34 -30
  15. data/lib/fauxhai/platforms/fedora/18.json +33 -30
  16. data/lib/fauxhai/platforms/freebsd/9.1.json +33 -30
  17. data/lib/fauxhai/platforms/gentoo/2.1.json +33 -30
  18. data/lib/fauxhai/platforms/mac_os_x/10.6.8.json +33 -30
  19. data/lib/fauxhai/platforms/mac_os_x/10.7.4.json +33 -30
  20. data/lib/fauxhai/platforms/mac_os_x/10.8.2.json +33 -30
  21. data/lib/fauxhai/platforms/omnios/151002.json +33 -30
  22. data/lib/fauxhai/platforms/opensuse/12.3.json +33 -30
  23. data/lib/fauxhai/platforms/redhat/5.8.json +33 -30
  24. data/lib/fauxhai/platforms/redhat/6.3.json +33 -30
  25. data/lib/fauxhai/platforms/smartos/joyent_20130111T180733Z.json +34 -31
  26. data/lib/fauxhai/platforms/suse/11.03.json +33 -30
  27. data/lib/fauxhai/platforms/ubuntu/10.04.json +33 -30
  28. data/lib/fauxhai/platforms/ubuntu/12.04.json +33 -30
  29. data/lib/fauxhai/platforms/ubuntu/13.04.json +2571 -0
  30. data/lib/fauxhai/platforms/windows/2008R2.json +33 -30
  31. data/lib/fauxhai/runner.rb +28 -25
  32. metadata +4 -4
@@ -6114,36 +6114,39 @@
6114
6114
  "network": {
6115
6115
  "default_gateway": "10.0.0.1",
6116
6116
  "default_interface": "eth0",
6117
- "eth0": {
6118
- "addresses": {
6119
- "10.0.0.2": {
6120
- "broadcast": "10.0.0.255",
6121
- "family": "inet",
6122
- "netmask": "255.255.255.0",
6123
- "prefixlen": "23",
6124
- "scope": "Global"
6125
- }
6126
- },
6127
- "arp": {
6128
- "10.0.0.1": "fe:ff:ff:ff:ff:ff"
6129
- },
6130
- "encapsulation": "Ethernet",
6131
- "flags": [
6132
- "BROADCAST",
6133
- "MULTICAST",
6134
- "UP",
6135
- "LOWER_UP"
6136
- ],
6137
- "mtu": "1500",
6138
- "number": "0",
6139
- "routes": {
6140
- "10.0.0.0/255": {
6141
- "scope": "link",
6142
- "src": "10.0.0.2"
6143
- }
6144
- },
6145
- "state": "up",
6146
- "type": "eth"
6117
+ "settings": {},
6118
+ "interfaces": {
6119
+ "eth0": {
6120
+ "addresses": {
6121
+ "10.0.0.2": {
6122
+ "broadcast": "10.0.0.255",
6123
+ "family": "inet",
6124
+ "netmask": "255.255.255.0",
6125
+ "prefixlen": "23",
6126
+ "scope": "Global"
6127
+ }
6128
+ },
6129
+ "arp": {
6130
+ "10.0.0.1": "fe:ff:ff:ff:ff:ff"
6131
+ },
6132
+ "encapsulation": "Ethernet",
6133
+ "flags": [
6134
+ "BROADCAST",
6135
+ "MULTICAST",
6136
+ "UP",
6137
+ "LOWER_UP"
6138
+ ],
6139
+ "mtu": "1500",
6140
+ "number": "0",
6141
+ "routes": {
6142
+ "10.0.0.0/255": {
6143
+ "scope": "link",
6144
+ "src": "10.0.0.2"
6145
+ }
6146
+ },
6147
+ "state": "up",
6148
+ "type": "eth"
6149
+ }
6147
6150
  }
6148
6151
  },
6149
6152
  "uptime": "30 days 15 hours 07 minutes 30 seconds",
@@ -165,31 +165,34 @@ module Fauxhai
165
165
  {
166
166
  'default_gateway' => default_gateway,
167
167
  'default_interface' => default_interface,
168
- 'eth0' => {
169
- 'addresses' => {
170
- '10.0.0.2' => {
171
- 'broadcast' => '10.0.0.255',
172
- 'family' => 'inet',
173
- 'netmask' => '255.255.255.0',
174
- 'prefixlen' => '23',
175
- 'scope' => 'Global'
176
- }
177
- },
178
- 'arp' => {
179
- '10.0.0.1' => 'fe:ff:ff:ff:ff:ff'
180
- },
181
- 'encapsulation' => 'Ethernet',
182
- 'flags' => ['BROADCAST', 'MULTICAST', 'UP', 'LOWER_UP'],
183
- 'mtu' => '1500',
184
- 'number' => '0',
185
- 'routes' => {
186
- '10.0.0.0/255' => {
187
- 'scope' => 'link',
188
- 'src' => '10.0.0.2'
189
- }
190
- },
191
- 'state' => 'up',
192
- 'type' => 'eth'
168
+ 'settings' => {},
169
+ 'interfaces' => {
170
+ 'eth0' => {
171
+ 'addresses' => {
172
+ '10.0.0.2' => {
173
+ 'broadcast' => '10.0.0.255',
174
+ 'family' => 'inet',
175
+ 'netmask' => '255.255.255.0',
176
+ 'prefixlen' => '23',
177
+ 'scope' => 'Global'
178
+ }
179
+ },
180
+ 'arp' => {
181
+ '10.0.0.1' => 'fe:ff:ff:ff:ff:ff'
182
+ },
183
+ 'encapsulation' => 'Ethernet',
184
+ 'flags' => ['BROADCAST', 'MULTICAST', 'UP', 'LOWER_UP'],
185
+ 'mtu' => '1500',
186
+ 'number' => '0',
187
+ 'routes' => {
188
+ '10.0.0.0/255' => {
189
+ 'scope' => 'link',
190
+ 'src' => '10.0.0.2'
191
+ }
192
+ },
193
+ 'state' => 'up',
194
+ 'type' => 'eth'
195
+ }
193
196
  }
194
197
  }
195
198
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fauxhai
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seth Vargo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-06 00:00:00.000000000 Z
11
+ date: 2013-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh
@@ -104,6 +104,7 @@ files:
104
104
  - lib/fauxhai/platforms/suse/11.03.json
105
105
  - lib/fauxhai/platforms/ubuntu/10.04.json
106
106
  - lib/fauxhai/platforms/ubuntu/12.04.json
107
+ - lib/fauxhai/platforms/ubuntu/13.04.json
107
108
  - lib/fauxhai/platforms/windows/2008R2.json
108
109
  - lib/fauxhai/runner.rb
109
110
  - tmp/.gitkeep
@@ -126,10 +127,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
127
  version: '0'
127
128
  requirements: []
128
129
  rubyforge_project:
129
- rubygems_version: 2.1.10
130
+ rubygems_version: 2.0.14
130
131
  signing_key:
131
132
  specification_version: 4
132
133
  summary: Fauxhai provides an easy way to mock out your ohai data for testing with
133
134
  chefspec!
134
135
  test_files: []
135
- has_rdoc: