Skip to content

Instantly share code, notes, and snippets.

@thommay
Created March 14, 2011 12:01
Show Gist options
  • Select an option

  • Save thommay/869042 to your computer and use it in GitHub Desktop.

Select an option

Save thommay/869042 to your computer and use it in GitHub Desktop.
# force ohai to run and pick up new languages.java data
ruby_block "reload_ohai" do
block do
o = Ohai::System.new
o.all_plugins
node.automatic_attrs.merge! o.data
end
action :nothing
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment