Class: Specinfra::Command::Redhat::Base::SelinuxModule
- Inherits:
-
Linux::Base::SelinuxModule
- Object
- Base
- Base::SelinuxModule
- Linux::Base::SelinuxModule
- Specinfra::Command::Redhat::Base::SelinuxModule
- Defined in:
- lib/specinfra/command/redhat/base/selinux_module.rb
Direct Known Subclasses
Class Method Summary collapse
Methods inherited from Linux::Base::SelinuxModule
check_is_enabled, check_is_installed
Methods inherited from Base
Class Method Details
.create(os_info = nil) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/specinfra/command/redhat/base/selinux_module.rb', line 3 def create(os_info=nil) if (os_info || os)[:release].to_i < 8 self else Specinfra::Command::Redhat::V8::SelinuxModule end end |