Promote Sabayon to a fully supported OS with package and service resource support
This commit is contained in:
13
lib/facter/operatingsystem.rb
Normal file
13
lib/facter/operatingsystem.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
require 'facter/lsb'
|
||||
|
||||
Facter.add(:operatingsystem) do
|
||||
confine :kernel => :linux
|
||||
confine :has_entropy => true
|
||||
|
||||
setcode do
|
||||
if FileTest.exists?("/etc/sabayon-release")
|
||||
"Sabayon"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user