New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add have_ipv4_address matcher to interface type. #228

Merged
merged 2 commits into from Aug 12, 2013

Conversation

Projects
None yet
2 participants
@ryotarai
Contributor

ryotarai commented Aug 11, 2013

Add have_ipv4_address matcher to interface type.
I tested this implementation on Ubuntu 12.04.

describe interface('eth0') do
  it { should have_ipv4_address("192.168.10.10") }
  it { should have_ipv4_address("192.168.10.10/24") }
end
@ryotarai

This comment has been minimized.

Show comment
Hide comment
@ryotarai

ryotarai Aug 11, 2013

Contributor

I sent a pull request to serverspec.github.io. (serverspec/serverspec.github.io#4)

Contributor

ryotarai commented Aug 11, 2013

I sent a pull request to serverspec.github.io. (serverspec/serverspec.github.io#4)

mizzy added a commit that referenced this pull request Aug 12, 2013

Merge pull request #228 from ryotarai/add-ipaddress-matcher
Add have_ipv4_address matcher to interface type.

@mizzy mizzy merged commit 1818e5f into mizzy:master Aug 12, 2013

1 check passed

default The Travis CI build passed
Details
@mizzy

This comment has been minimized.

Show comment
Hide comment
@mizzy

mizzy Aug 12, 2013

Owner

Thanks!

Owner

mizzy commented Aug 12, 2013

Thanks!

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