Skip to content

Commit 66e163a

Browse files
committed
Disable new logrotate kitchen test on docker
Dokken images do not have logrotate, so the test would fail. Signed-off-by: Jacopo De Amicis <[email protected]>
1 parent afa7a7e commit 66e163a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cookbooks/aws-parallelcluster-platform/test/controls/log_rotation_all_nodes.rb

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
control 'tag:config_log_rotation_all_nodes' do
1414
title 'Check that log rotation has been properly configured'
1515

16+
# Docker images do not have logrotate
17+
only_if { !os_properties.on_docker? }
18+
1619
# This should be enough at least to verify that the logrotate overall configuration is valid.
1720
# WARNING: do not use the `--force` option, because running multiple times the command with the
1821
# `--force` option will cause the command to fail (defeating the purpose of the test)

0 commit comments

Comments
 (0)