Skip to content

Commit

Permalink
Python 3 semanage is named python3-libsemanage
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms committed May 30, 2019
1 parent 1283481 commit 07f0748
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lib/facter/selinux_semanage_is_python3.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Facter.add(:selinux_semanage_is_python3) do
confine osfamily: 'RedHat'
setcode do
Facter::Core::Execution.execute('rpm -q libsemanage-python3') !~ %r{not installed}
Facter::Core::Execution.execute('rpm -q python3-libsemanage') !~ %r{not installed}
end
end
2 changes: 0 additions & 2 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
{
"operatingsystem": "Fedora",
"operatingsystemrelease": [
"26",
"27",
"28",
"29"
]
Expand Down

0 comments on commit 07f0748

Please sign in to comment.