Sha256: 2b0c85af09eaa61ede0f8dc8a236eafdceba3d02bb3822ce4c7a5802a38bf1d3
Contents?: true
Size: 380 Bytes
Versions: 47
Compression:
Stored size: 380 Bytes
Contents
module Serverspec::Type class Selinux < Base def disabled? @runner.check_selinux_has_mode('disabled') end def enforcing?(with_policy) @runner.check_selinux_has_mode('enforcing', with_policy) end def permissive?(with_policy) @runner.check_selinux_has_mode('permissive', with_policy) end def to_s 'SELinux' end end end
Version data entries
47 entries across 47 versions & 3 rubygems