Sha256: 7c04e983d898c8c273eddd63f00637daa683a286ead45c3e01115e4d4cec6c24

Contents?: true

Size: 509 Bytes

Versions: 37

Compression:

Stored size: 509 Bytes

Contents

require 'spec_helper'

include Serverspec::Helper::RedHat

describe 'Serverspec linux kernel parameter matchers of Red Hat family' do
  it_behaves_like 'support explicit linux kernel parameter checking with integer', 'net.ipv4.tcp_syncookies', 1
  it_behaves_like 'support explicit linux kernel parameter checking with string',  'kernel.osrelease', '2.6.32-131.0.15.el6.x86_64'
  it_behaves_like 'support explicit linux kernel parameter checking with regexp',  'net.ipv4.tcp_wmem', /4096\t16384\t4194304/
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
serverspec-0.5.4 spec/redhat/linux_kernel_parameter_spec.rb
serverspec-0.5.3 spec/redhat/linux_kernel_parameter_spec.rb
serverspec-0.5.2 spec/redhat/linux_kernel_parameter_spec.rb
serverspec-0.5.1 spec/redhat/linux_kernel_parameter_spec.rb
serverspec-0.5.0 spec/redhat/linux_kernel_parameter_spec.rb
serverspec-0.4.14 spec/redhat/linux_kernel_parameter_spec.rb
serverspec-0.4.13 spec/redhat/linux_kernel_parameter_spec.rb
serverspec-0.4.12 spec/redhat/linux_kernel_parameter_spec.rb
serverspec-0.4.11 spec/redhat/linux_kernel_parameter_spec.rb
serverspec-0.4.10 spec/redhat/linux_kernel_parameter_spec.rb
serverspec-0.4.9 spec/redhat/linux_kernel_parameter_spec.rb
serverspec-0.4.8 spec/redhat/linux_kernel_parameter_spec.rb
serverspec-0.4.7 spec/redhat/linux_kernel_parameter_spec.rb
serverspec-0.4.6 spec/redhat/linux_kernel_parameter_spec.rb
serverspec-0.4.5 spec/redhat/linux_kernel_parameter_spec.rb
serverspec-0.4.4 spec/redhat/linux_kernel_parameter_spec.rb
serverspec-0.4.3 spec/redhat/linux_kernel_parameter_spec.rb