You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After using the latest release of the module, I noticed that selinux_port was having issues in some of my tests.
This turned out to be that (for whatever reason) the package containing the python semanage library had not yet been installed.
Instead of requiring users to include the entire module, I would like to propose that all commands that need semanage have an autorequires added on the various potential package names.
Unfortunately, this means that a failure in a package update will cascade but this is pretty standard and will fix potential 'dual-run' issues moving forward.
The main drawback is that, as new OS flavors are added, the package list will need to be updated to reflect things. I don't think that requiring the selinux::package class is a good idea because it contains more than the single package that is required for obtaining the semanage command.
The text was updated successfully, but these errors were encountered:
After using the latest release of the module, I noticed that
selinux_port
was having issues in some of my tests.This turned out to be that (for whatever reason) the package containing the python
semanage
library had not yet been installed.Instead of requiring users to include the entire module, I would like to propose that all commands that need
semanage
have anautorequires
added on the various potential package names.Unfortunately, this means that a failure in a package update will cascade but this is pretty standard and will fix potential 'dual-run' issues moving forward.
The main drawback is that, as new OS flavors are added, the package list will need to be updated to reflect things. I don't think that requiring the
selinux::package
class is a good idea because it contains more than the single package that is required for obtaining thesemanage
command.The text was updated successfully, but these errors were encountered: