Class: Specinfra::Command::Redhat::V8::SelinuxModule
- Inherits:
-
Base::SelinuxModule
- Object
- Base
- Base::SelinuxModule
- Linux::Base::SelinuxModule
- Base::SelinuxModule
- Specinfra::Command::Redhat::V8::SelinuxModule
- Defined in:
- lib/specinfra/command/redhat/v8/selinux_module.rb
Class Method Summary collapse
Methods inherited from Base::SelinuxModule
Methods inherited from Base
Class Method Details
.check_is_enabled(name) ⇒ Object
7 8 9 |
# File 'lib/specinfra/command/redhat/v8/selinux_module.rb', line 7 def check_is_enabled(name) "semodule -l | grep $'^#{escape(name)}'" end |
.check_is_installed(name, version = nil) ⇒ Object
3 4 5 |
# File 'lib/specinfra/command/redhat/v8/selinux_module.rb', line 3 def check_is_installed(name, version=nil) "semodule -l | grep $'^#{escape(name)}'" end |