Serverspec::Filter.filter_subject supports other than int #70

Merged
merged 2 commits into from Apr 29, 2013

Conversation

Projects
None yet
1 participant
@mizzy
Owner

mizzy commented Apr 29, 2013

Now you can check kernel parameters like this.

describe 'Linux kernel parameters' do
  context 'kernel.osrelease' do
    its(:value) { should eq '2.6.32-131.0.15.el6.x86_64' }
  end

  context 'net.ipv4.tcp_wmem' do
    its(:value) { should match /4096\t16384\t4194304/ }
  end
end

mizzy added a commit that referenced this pull request Apr 29, 2013

Merge pull request #70 from mizzy/subject-filter-supports-other-than-int
Serverspec::Filter.filter_subject supports other than int

@mizzy mizzy merged commit 1826a24 into master Apr 29, 2013

1 check passed

default The Travis build passed
Details

@mizzy mizzy deleted the subject-filter-supports-other-than-int branch Apr 29, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment