Created
April 15, 2016 11:34
-
-
Save CalvinHartwell/cdd5cc90f1c9f5a313499757e6d5d551 to your computer and use it in GitHub Desktop.
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
| [root@gbl59900153 facts.d]# ls | |
| hardware.rb | |
| [root@gbl59900153 facts.d]# vi hardware.rb | |
| Facter.add(:hardware_platform) do | |
| setcode do | |
| Facter::Util::Resolution.exec('uname') | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment