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.
2 parents 6f4023f + a348b7e commit 4dea0bcCopy full SHA for 4dea0bc
spec/support/acceptance/prepare_host.rb
@@ -1,6 +1,8 @@
1
def prepare_host
2
if fact('os.family') == 'RedHat'
3
shell('rm -rf /etc/yum.repos.d/Zabbix*.repo; rm -rf /var/cache/yum/x86_64/*/Zabbix*; yum clean all --verbose')
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 fact('os.release.major').to_i == 7
7
shell('sed -i "/nodocs/d" /etc/yum.conf')
8
end
0 commit comments