- From: "Julian C. Dunn" <
>
- To:
- Subject: [chef] Re: Still confused about knife search recipe vs. recipes
- Date: Sat, 23 Nov 2013 12:25:17 -0500
On Fri, Nov 22, 2013 at 4:30 PM, Guy Matz
<
>
wrote:
>
Hi! I don't understand this and I want to cry . . . why isn't knife search
>
returning anything here:
>
>
>
iheart-chef]$ knife search node
>
'recipes:attivio\:\:clustered'
>
0 items found
>
>
When the recipe attivio::clustered is in the run list (see below)? It seems
>
that not all of my RunList is getting expanded in Recipes . . . Is that
>
right? I thought that I should see all of the recipes applied to the node,
>
as well as the expanded list of recipes from roles.
>
>
Any thoughts?
Did you run Chef Client after adding attivio::clustered to your run list?
This is one of the shortcomings of the Node object -- at present, it
contains both "desired state" and "current state" information, all
intermingled together. The "run_list" contains desired state, but
"recipes" and "roles" contain current state. Yes, we have plans to
change this in the future.
- Julian
--
[ Julian C. Dunn
<
>
* Sorry, I'm ]
[ WWW:
http://www.aquezada.com/staff/julian * only Web 1.0 ]
[
gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]
Archive powered by MHonArc 2.6.16.