Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Test if we are an alix
- # Nico <nico@gcu.info>
- Facter.add("alix") do
- confine :kernel => :openbsd
- result = "classic"
- setcode do
- if Facter.value("hardwareisa") =~ /Geode\(TM\)/i then
- result = "alix"
- end
- # Returns the value
- result
- end
- end
Add Comment
Please, Sign In to add comment