-
-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install docs on CentOS acceptance tests
- Loading branch information
1 parent
df9fe81
commit ef95926
Showing
2 changed files
with
7 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
require 'voxpupuli/acceptance/spec_helper_acceptance' | ||
|
||
configure_beaker | ||
configure_beaker do |host| | ||
# The CentOS docker image has a yum config that won't install docs, to keep used space low | ||
# zabbix packages their SQL file as doc, we need that for bootstrapping the database | ||
if host[:platform] =~ %r{el-7-x86_64} && host[:hypervisor] =~ %r{docker} | ||
on(host, "sed -i '/nodocs/d' /etc/yum.conf") | ||
end | ||
end | ||
|
||
Dir['./spec/support/acceptance/**/*.rb'].sort.each { |f| require f } |