[chef] Ohai convention for hardware details?


Chronological Thread 
  • From: "steve ." < >
  • To: " " < >
  • Subject: [chef] Ohai convention for hardware details?
  • Date: Mon, 30 Jun 2014 14:43:32 -0700

So there's a pretty standard place for people to look for information about a node's hypervisor characteristics (is it VMware?  Openstack?  Cloudstack?).  I'm thinking of cloud_provider.

And we agree that it's so important to know what kind of platform we're on that we have platform_family.

But there's not really a standard for figuring out what our hardware is.

On Linux, we run dmidecode, cover our eyes and jam that into one structure.

On OS X, we run system profiler, cover our eyes and jam that into a different structure.

On Windows, _________________.  (I haven't tried yet.  I'm afraid to.)

I think this is going to get more important as people use Chef on different kinds of physical hardware.  It would be great if there was some kind of standard for hardware that Ohai plugins on different platforms attempted to conform to - something like:

'hardware': {
  'manufacturer': 'Falken Robotics',
  'model': 'WOPR',
  'revision': '01'
}

Is anyone interested in/already working on this?  Is it on someone's roadmap already?  Or did someone try working on this and give up because ... ?  



Archive powered by MHonArc 2.6.16.

§