Sha256: 0cbdb22389aa00f09625f1715927add5c2b03c7cdb945ac24d577d2d365e1c6f
Contents?: true
Size: 625 Bytes
Versions: 20
Compression:
Stored size: 625 Bytes
Contents
require 'spec_helper' RSpec.configure do |c| c.os = 'Gentoo' end describe selinux do it { should be_enforcing } its(:command) { should eq "getenforce | grep -i -- enforcing && grep -i -- ^SELINUX=enforcing$ /etc/selinux/config" } end describe selinux do it { should be_permissive } its(:command) { should eq "getenforce | grep -i -- permissive && grep -i -- ^SELINUX=permissive$ /etc/selinux/config" } end describe selinux do it { should be_disabled } its(:command) { should eq "test ! -f /etc/selinux/config || (getenforce | grep -i -- disabled && grep -i -- ^SELINUX=disabled$ /etc/selinux/config)" } end
Version data entries
20 entries across 20 versions & 1 rubygems