-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Riak 2.0.0beta1, SeverSpec, clean up Test Kitchen.
- Loading branch information
1 parent
ec47ca7
commit 5da0693
Showing
19 changed files
with
159 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
test/integration/custom_package/serverspec/custom_package_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
require "spec_helper" | ||
|
||
describe package("riak") do | ||
it { should be_installed } | ||
end | ||
|
||
describe service("riak") do | ||
it { should be_enabled } | ||
it { should be_running } | ||
end | ||
|
||
describe port(8098) do | ||
it { should be_listening } | ||
end | ||
|
||
describe port(8087) do | ||
it { should be_listening } | ||
end | ||
|
||
describe file("/etc/riak/riak.conf") do | ||
it { should be_file } | ||
end | ||
|
||
describe command("riak ping") do | ||
it { should return_stdout "pong" } | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
require "serverspec" | ||
|
||
include Serverspec::Helper::Exec | ||
include Serverspec::Helper::DetectOS |
26 changes: 26 additions & 0 deletions
26
test/integration/custom_repository/serverspec/custom_repository_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
require "spec_helper" | ||
|
||
describe package("riak") do | ||
it { should be_installed } | ||
end | ||
|
||
describe service("riak") do | ||
it { should be_enabled } | ||
it { should be_running } | ||
end | ||
|
||
describe port(8098) do | ||
it { should be_listening } | ||
end | ||
|
||
describe port(8087) do | ||
it { should be_listening } | ||
end | ||
|
||
describe file("/etc/riak/riak.conf") do | ||
it { should be_file } | ||
end | ||
|
||
describe command("riak ping") do | ||
it { should return_stdout "pong" } | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
require "serverspec" | ||
|
||
include Serverspec::Helper::Exec | ||
include Serverspec::Helper::DetectOS |
Oops, something went wrong.