-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(BKR-945) Add acceptance tests to beaker-pe
Previous to this commit, we relied on tests that existed within the beaker repo to test functionality that actually resided within beaker-pe. This change adds those tests to beaker-pe, so they can be removed beaker itself.
- Loading branch information
1 parent
84a5b56
commit cf0bf44
Showing
3 changed files
with
23 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
require 'beaker-pe' |
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 @@ | ||
install_pe |
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,21 @@ | ||
test_name "puppet install smoketest" | ||
|
||
step 'puppet install smoketest: verify \'facter --help\' can be successfully called on all hosts' | ||
hosts.each do |host| | ||
on host, facter('--help') | ||
end | ||
|
||
step 'puppet install smoketest: verify \'hiera --help\' can be successfully called on all hosts' | ||
hosts.each do |host| | ||
on host, hiera('--help') | ||
end | ||
|
||
step 'puppet install smoketest: verify \'puppet help\' can be successfully called on all hosts' | ||
hosts.each do |host| | ||
on host, puppet('help') | ||
end | ||
|
||
step "puppet install smoketest: can get a configprint of the puppet server setting on all hosts" | ||
hosts.each do |host| | ||
assert(!host.puppet['server'].empty?, "can get a configprint of the puppet server setting") | ||
end |