Remove facts that no longer work with puppetserver
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
require 'facter/util/operatingsystem'
|
||||
|
||||
Facter.add(:operatingsystem) do
|
||||
# Sabayon Linux is a variant of Gentoo so this resolution needs to come
|
||||
# before the Gentoo resolution.
|
||||
has_weight(10)
|
||||
confine :kernel => :linux
|
||||
|
||||
setcode do
|
||||
release_info = Facter::Util::Operatingsystem.os_release
|
||||
if release_info['NAME'] == "Sabayon"
|
||||
'Sabayon'
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user