[OHAI-458] Include Joyent SmartOS specific attributes in Ohai
change license mit to apache2
Added inodes testing
do not warn for missing gateway IPs

When using a /32 address with a point-to-point gateway, you can either
use iproute2's peer option in which case ohai detects the ipaddress
correctly. Alternatively one can configure the /32 address on the
network and setup a static route to the gateway:

$ ip a
3: lxc0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether 00:1e:8c:f4:f0:b1 brd ff:ff:ff:ff:ff:ff
    inet 1.2.3.4/32 scope global lxc0

$ ip r
default via 5.9.41.225 dev lxc0
5.9.41.225 dev lxc0  scope link

Using this configuration ohai does the right thing but logs a warning.
This patch simply converts the log line to debug to hide this.
OHAI-541: return a response even when ec2 metadata is 404

During EC2 metadata extraction, a given node in the metadata tree
may result in a '404 Not Found' message, causing the entire EC2 plugin
to fail, and returning an empty object.

Since it's better to have most of the metadata returned, this allows
the 404 to continue, and others should continue to fail.
OHAI-541: update fetch_metadata and metadata_get

https://tickets.opscode.com/browse/OHAI-541

Updates per review. Response to 404 is now nil, and tests have been
updated to reflect that. Took a stab at starting some docs on the
metadata_get method, and removed a mis-paste in the license from 3 years
ago.
Merge branch 'master' into OHAI-458
update syntax from ohai6 to ohai7
fill provides
define method for collect product information
new method collect pkgsrc for test
update method collect pkgsrc for test
update spec for plugin/joyent
remove comment from spec
move .collect_guest_id from joyent to solaris2/virtualization
Merge branch 'OHAI-458' of github.com:ZCloud-Firstserver/ohai into OHAI-458
update spec
OHAI-541: catch more opportunities for invalid returns

https://tickets.opscode.com/browse/OHAI-541

Post-review, a few more locations that have some potential to return
an invalid value when called, now guarded with some valid response.
fix spec
more spec fixes