# frozen_string_literal: true module Facter module El class OsSelinux FACT_NAME = 'os.selinux' def call_the_resolver selinux = Resolvers::SELinux.resolve(:enabled) ResolvedFact.new(FACT_NAME, build_fact_list(selinux)) end def build_fact_list(selinux) { enabled: selinux } end end end end