From 00cc181fa0353e97ed3f7406321628c22de0db9f Mon Sep 17 00:00:00 2001 From: James Belchamber Date: Wed, 30 Jul 2014 10:41:05 +0100 Subject: [PATCH] Typo fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 33fd1b6..19b94ea 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ node.override['logrotate']['global']['nocompress'] = true The same is true of frequency directives; to be certain the frequency directive you want is included in the global configuration, you should override the ones you don't want as false: ```ruby -%w[ daily, weekly, yearly ].do |freq| +%w[ daily, weekly, yearly ].each do |freq| node.override['logrotate']['global'][freq] = false end node.override['logrotate']['global']['monthly'] = true