[chef] Re: Re: Chef Run Errors with Minitest-Handler


Chronological Thread 
  • From: Torben Knerr < >
  • To:
  • Subject: [chef] Re: Re: Chef Run Errors with Minitest-Handler
  • Date: Mon, 3 Dec 2012 08:39:19 +0100


Am 03.12.2012 08:25 schrieb "Torben Knerr" < "> >:
>
>
> Am 03.12.2012 00:42 schrieb "Steven Danna" < "> >:
>
> >
> > On 12/2/12 1:15 PM, Torben Knerr wrote:
> > > Hi everybody,
> > >
> > > Is this the expected behaviour?
> > >
> >
> > It is expected in the sense that this is currently the output you will
> > see for any cookbooks in the run_list that don't have tests defined.  In
> > previous versions of Chef the error output was likely less intrusive
> > since we didn't have error inspectors outputting what is usually very
> > helpful information.
> >
> > I just opened a pull request here:
> >
> > https://github.com/btm/minitest-handler-cookbook/pull/25
> >
> > It is a bit of a hack but it does reduce the noise substantially.
>
> Looks like the correct implementation to me not like a hack ;-)
>

Ah now I see why you said hack. So there is a missing API method to check wheter a cookbook_file exists at compile time I guess. But still, even if it relies on chef internals currently, it seems to be the more correct implementation...

> Thanks and +1
>
> >
> > Cheers,
> >
> > Steven
> >
> >
> > --
> > Steven Danna
> > Systems Engineer, Opscode, Inc
> > GPG Key: http://stevendanna.github.com/downloads/code/public.key
> >




Archive powered by MHonArc 2.6.16.

§