From 215ded6861954eac24910871848617f583e1c842 Mon Sep 17 00:00:00 2001 From: Matthias Thubauville Date: Thu, 17 Dec 2015 13:58:14 +0100 Subject: [PATCH] Fix Issue #76 --- lib/facter/selinux_custom_policy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/facter/selinux_custom_policy.rb b/lib/facter/selinux_custom_policy.rb index 167873b6..0378516d 100644 --- a/lib/facter/selinux_custom_policy.rb +++ b/lib/facter/selinux_custom_policy.rb @@ -5,7 +5,7 @@ require 'facter' Facter.add(:selinux_custom_policy) do - confine kernel: 'Linux', osfamily: 'RedHat', operatingsystemmajrelease: '7', selinux: ['true', true] + confine :kernel => 'Linux', :osfamily => 'RedHat', :operatingsystemmajrelease => '7', :selinux => ['true', true] setcode do Facter::Util::Resolution.exec("sestatus | grep 'Loaded policy name' | awk '{ print \$4 }'") end