Sha256: 1d54e1d03f8ee68060f9db9cafebf71035f163e7d78d3b49c67418923b5cef85

Contents?: true

Size: 370 Bytes

Versions: 303

Compression:

Stored size: 370 Bytes

Contents

require 'spec_helper'

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

describe get_command(:check_selinux_module_is_installed, 'dnsmasq') do
  it { should eq "semodule -l | grep $'^dnsmasq\\t'" }
end

describe get_command(:check_selinux_module_is_enabled, 'dnsmasq') do
  it { should eq "semodule -l | grep $'^dnsmasq\\t' | grep -v $'^dnsmasq\\t.*\\tDisabled$'" }
end

Version data entries

303 entries across 303 versions & 3 rubygems

Version Path
specinfra-2.11.9 spec/command/linux/selinux_module_spec.rb
specinfra-2.11.8 spec/command/linux/selinux_module_spec.rb
specinfra-2.11.7 spec/command/linux/selinux_module_spec.rb