Created
May 20, 2015 08:56
-
-
Save ulfbert-inc/8958851d5af8784fa3af to your computer and use it in GitHub Desktop.
uname.rb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ohai.plugin(:Uname) do | |
provides 'uname' | |
depends 'kernel' | |
collect_data do | |
uname Mash.new(:message => `uname -a`) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment