- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: Running resources & not_if { } qualifier
- Date: Thu, 2 Dec 2010 09:19:59 -0800
On Thu, Dec 2, 2010 at 9:12 AM, Dreamcat4
<
>
wrote:
>
>
I too would be surprised to be the first person to notice this. Does
>
this mean I should be changing my resource somehow? Ie to be creating
>
a new resource in each instance?
Yep. Resources are keyed by type and name (the first argument, before
the `do...end` block). So:
package "foo"
service "foo"
are different, as are:
package "foo"
package "bar"
but
package "foo"
package "foo"
are the same, and any parameters you set on the second one will
modify/override the first one.
Dan DeLeo
>
>
Thanks
>
>
dreamcat4
>
>
Archive powered by MHonArc 2.6.16.