We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df9fe81 commit ef95926Copy full SHA for ef95926
.sync.yml
@@ -19,5 +19,3 @@ Gemfile:
19
- gem: 'zabbixapi'
20
spec/spec_helper.rb:
21
mock_with: ':mocha'
22
-spec/spec_helper_acceptance.rb:
23
- unmanaged: false
spec/spec_helper_acceptance.rb
@@ -1,5 +1,11 @@
1
require 'voxpupuli/acceptance/spec_helper_acceptance'
2
3
-configure_beaker
+configure_beaker do |host|
4
+ # The CentOS docker image has a yum config that won't install docs, to keep used space low
5
+ # zabbix packages their SQL file as doc, we need that for bootstrapping the database
6
+ if host[:platform] =~ %r{el-7-x86_64} && host[:hypervisor] =~ %r{docker}
7
+ on(host, "sed -i '/nodocs/d' /etc/yum.conf")
8
+ end
9
+end
10
11
Dir['./spec/support/acceptance/**/*.rb'].sort.each { |f| require f }
0 commit comments