We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afa7a7e commit 66e163aCopy full SHA for 66e163a
cookbooks/aws-parallelcluster-platform/test/controls/log_rotation_all_nodes.rb
@@ -13,6 +13,9 @@
13
control 'tag:config_log_rotation_all_nodes' do
14
title 'Check that log rotation has been properly configured'
15
16
+ # Docker images do not have logrotate
17
+ only_if { !os_properties.on_docker? }
18
+
19
# This should be enough at least to verify that the logrotate overall configuration is valid.
20
# WARNING: do not use the `--force` option, because running multiple times the command with the
21
# `--force` option will cause the command to fail (defeating the purpose of the test)
0 commit comments