Hey Chef’ers
Ohai 0.6.12.rc.1 is up on Rubygems.org
You can install it on a system with ‘sudo gem install ohai --pre’ or
of course across all the systems with ‘knife ssh : sudo gem install
ohai --pre’
We don’t usually get as much testing with Ohai as I’d like, and it
often means that we release one or two immediate re-releases as people
who didn’t bother to test it start building production system from the
latest version on rubygems.org. Please, don’t be surprised by a
regression and try this release candidate out. Our policy is to let
three days without a regression go by before we release a final
version.
One huge feature in this release is the new "platform_family"
attribute which is currently a hardcoded list of platforms that are
alike. If you write a cookbook to run on CentOS, but it should also
run on Scientific Linux, RHEL and Oracle, you can test for
platform_family == “rhel” instead of testing for all the individual
platforms.
Here is the current list:
when /debian/, /ubuntu/, /mint/
platform_family "debian"
when /fedora/, /amazon/
platform_family "fedora"
when /oracle/, /centos/, /redhat/, /scientific/, /enterpriseenterprise/
platform_family "rhel"
when /suse/
platform_family "suse"
when /gentoo/
platform_family "gentoo"
when /slackware/
platform_family "slackware"
when /arch/
platform_family “arch”
There is also fixed support for Scientific Linux, added support for
Oracle, and an important iproute2 fix for Arch users.
Below is the list of issues in this release:
OHAI-325 Add support for iproute2 for linux networking
OHAI-324 Add specs for linux network, precursor to some other bug fixes
OHAI-323 spec failure in sigar/network_route_spec.rb failure
OHAI-319 ohai detects “scientific” as "scientificsl"
OHAI-316 venet0 IP address detected incorrectly on newer versions of OpenVZ
OHAI-314 plugins/os.rb RbConfig / Config warning in Ruby 1.9.3
OHAI-312 OpenBSD uptime.rb plugin does not generate output
OHAI-308 Can not detect oracle server linux platform during chef installation
OHAI-303 filesystem uuid support
–
Bryan McLellan | opscode | technical program manager
© 206.607.7108 | (t) @btmspox | (b) http://blog.loftninjas.org