Ohai query


#1

I want to grab the kernel version of every node. How can I do this using Ohai?

An example would be appreciated.


Justin Franks
Lead Operations Engineer
SaaS, Cloud, Data Centers & Infrastructure
Lithium Technologies, Inc
225 Bush St., 15th Floor
San Francisco, CA 94104
tel: +1 415 757 3100 x3219


#2

It looks like it is a standard pull - at least within my environment.
The attribute is called os_version (see below)

os_version
2.6.32-279.19.1.el6.x86_64

Cheers,
David

On Thu, Jul 17, 2014 at 4:42 PM, Justin Franks
justin.franks@lithium.com wrote:

I want to grab the kernel version of every node. How can I do this using
Ohai?

An example would be appreciated.


Justin Franks
Lead Operations Engineer
SaaS, Cloud, Data Centers & Infrastructure
Lithium Technologies, Inc
225 Bush St., 15th Floor
San Francisco, CA 94104
tel: +1 415 757 3100 x3219