From f909c0d94149f59b2be823711b731501794d07bf Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Thu, 18 Jul 2019 21:01:56 -0700 Subject: [PATCH] Update the berksfile rule to only fire on Berksfiles Don't waste time checking this everywhere Signed-off-by: Tim Smith --- config/cookstyle.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/cookstyle.yml b/config/cookstyle.yml index 56d810920..f3615c5ec 100644 --- a/config/cookstyle.yml +++ b/config/cookstyle.yml @@ -96,6 +96,8 @@ Chef/NodeSetUnless: Chef/LegacyBerksfileSource: Description: Do not use legacy Berksfile community sources. Use Chef Supermarket instead. Enabled: true + Include: + - '**/Berksfile' Chef/WhyRunSupportedTrue: Description: why_run_supported? no longer needs to be set to true as it is the default in Chef 13+