fauxhai 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +10 -2
- data/fauxhai.gemspec +1 -1
- data/lib/fauxhai/platforms/amazon/2012.09.json +33 -30
- data/lib/fauxhai/platforms/centos/5.8.json +33 -30
- data/lib/fauxhai/platforms/centos/5.9.json +33 -30
- data/lib/fauxhai/platforms/centos/6.0.json +33 -30
- data/lib/fauxhai/platforms/centos/6.2.json +34 -31
- data/lib/fauxhai/platforms/centos/6.3.json +34 -31
- data/lib/fauxhai/platforms/centos/6.4.json +33 -30
- data/lib/fauxhai/platforms/debian/6.0.5.json +33 -30
- data/lib/fauxhai/platforms/debian/7.0.json +33 -30
- data/lib/fauxhai/platforms/debian/7.1.json +34 -30
- data/lib/fauxhai/platforms/fedora/18.json +33 -30
- data/lib/fauxhai/platforms/freebsd/9.1.json +33 -30
- data/lib/fauxhai/platforms/gentoo/2.1.json +33 -30
- data/lib/fauxhai/platforms/mac_os_x/10.6.8.json +33 -30
- data/lib/fauxhai/platforms/mac_os_x/10.7.4.json +33 -30
- data/lib/fauxhai/platforms/mac_os_x/10.8.2.json +33 -30
- data/lib/fauxhai/platforms/omnios/151002.json +33 -30
- data/lib/fauxhai/platforms/opensuse/12.3.json +33 -30
- data/lib/fauxhai/platforms/redhat/5.8.json +33 -30
- data/lib/fauxhai/platforms/redhat/6.3.json +33 -30
- data/lib/fauxhai/platforms/smartos/joyent_20130111T180733Z.json +34 -31
- data/lib/fauxhai/platforms/suse/11.03.json +33 -30
- data/lib/fauxhai/platforms/ubuntu/10.04.json +33 -30
- data/lib/fauxhai/platforms/ubuntu/12.04.json +33 -30
- data/lib/fauxhai/platforms/ubuntu/13.04.json +2571 -0
- data/lib/fauxhai/platforms/windows/2008R2.json +33 -30
- data/lib/fauxhai/runner.rb +28 -25
- metadata +4 -4
@@ -6114,36 +6114,39 @@
|
|
6114
6114
|
"network": {
|
6115
6115
|
"default_gateway": "10.0.0.1",
|
6116
6116
|
"default_interface": "eth0",
|
6117
|
-
"
|
6118
|
-
|
6119
|
-
|
6120
|
-
|
6121
|
-
"
|
6122
|
-
|
6123
|
-
|
6124
|
-
|
6125
|
-
|
6126
|
-
|
6127
|
-
|
6128
|
-
|
6129
|
-
|
6130
|
-
|
6131
|
-
|
6132
|
-
"
|
6133
|
-
"
|
6134
|
-
|
6135
|
-
|
6136
|
-
|
6137
|
-
|
6138
|
-
|
6139
|
-
|
6140
|
-
"
|
6141
|
-
|
6142
|
-
"
|
6143
|
-
|
6144
|
-
|
6145
|
-
|
6146
|
-
|
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",
|
data/lib/fauxhai/runner.rb
CHANGED
@@ -165,31 +165,34 @@ module Fauxhai
|
|
165
165
|
{
|
166
166
|
'default_gateway' => default_gateway,
|
167
167
|
'default_interface' => default_interface,
|
168
|
-
'
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
'
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
'
|
187
|
-
|
188
|
-
'
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
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.
|
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
|
+
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.
|
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:
|