- From: Andrew Crump <
- Subject: [chef] Re: Repetition of resource declarations problem
- Date: Fri, 28 Sep 2012 18:57:05 +0100
Thanks for reporting this behaviour. This is a bug in foodcritic.
FC005 is intended to flag when there are a series of resources that
vary only in a single attribute.
In this case we don't seem to be decoding all resource attributes
correctly when we are within a block so FC005 incorrectly thinks the
template resources are similar enough to raise this warning.
I've raised an issue here and we'll look into it:
On Fri, Sep 28, 2012 at 1:15 PM, Alfredo Palhares
> Hello, i have the following recipe and runing foodcritic says:
> FC005: Avoid repetition of resource declarations:
> I have no idead why this happens.
> Maybe because the template is in a loop ?
>  http://pastie.org/private/kl7ww5ilehchdebrww89a
Archive powered by MHonArc 2.6.16.