Skip to content
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

@ryotarai
Copy link
Contributor

@ryotarai 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
Copy link
Contributor Author

@ryotarai 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 issue Aug 12, 2013
Add have_ipv4_address matcher to interface type.
@mizzy mizzy merged commit 1818e5f into mizzy:master Aug 12, 2013
1 check passed
@mizzy
Copy link
Owner

@mizzy mizzy commented Aug 12, 2013

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants