Skip to content

Commit

Permalink
Fix Issue voxpupuli#76
Browse files Browse the repository at this point in the history
  • Loading branch information
Thubo committed Dec 17, 2015
1 parent 67d5659 commit 0b24369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/facter/selinux_custom_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b24369

Please sign in to comment.