Sha256: 7089a436aceadb37ef13e998e611b082e4103feb409976293ccebad60112fe9f

Contents?: true

Size: 279 Bytes

Versions: 121

Compression:

Stored size: 279 Bytes

Contents

require 'spec_helper'

property[:os] = nil
set :os, :family => 'linux'

describe get_command(:check_selinux_has_mode, 'disabled') do
  it { should eq 'test ! -f /etc/selinux/config || (getenforce | grep -i -- disabled && grep -i -- ^SELINUX=disabled$ /etc/selinux/config)' }
end

Version data entries

121 entries across 121 versions & 2 rubygems

Version Path
specinfra-cisco-2.41.0 spec/command/linux/selinux_spec.rb
specinfra-cisco-2.40.2 spec/command/linux/selinux_spec.rb
specinfra-2.42.2 spec/command/linux/selinux_spec.rb
specinfra-2.42.1 spec/command/linux/selinux_spec.rb
specinfra-2.42.0 spec/command/linux/selinux_spec.rb
specinfra-2.41.1 spec/command/linux/selinux_spec.rb
specinfra-2.41.0 spec/command/linux/selinux_spec.rb
specinfra-2.40.2 spec/command/linux/selinux_spec.rb
specinfra-2.40.1 spec/command/linux/selinux_spec.rb
specinfra-2.40.0 spec/command/linux/selinux_spec.rb
specinfra-2.39.1 spec/command/linux/selinux_spec.rb
specinfra-2.39.0 spec/command/linux/selinux_spec.rb
specinfra-2.38.1 spec/command/linux/selinux_spec.rb
specinfra-2.38.0 spec/command/linux/selinux_spec.rb
specinfra-2.37.9 spec/command/linux/selinux_spec.rb
specinfra-2.37.8 spec/command/linux/selinux_spec.rb
specinfra-2.37.6 spec/command/linux/selinux_spec.rb
specinfra-2.37.5 spec/command/linux/selinux_spec.rb
specinfra-2.37.4 spec/command/linux/selinux_spec.rb
specinfra-2.37.3 spec/command/linux/selinux_spec.rb