- From: Peter Donald <
>
- To:
- Subject: [chef] Re: Re: Re: recipe, recipes and loaded_recipes (CHEF-3645)
- Date: Wed, 5 Dec 2012 13:25:49 +1100
On Wed, Dec 5, 2012 at 1:08 PM, Bryan McLellan
<
" target="_blank">
> wrote:
On Tue, Dec 4, 2012 at 9:02 PM, Peter Donald <
" target="_blank">
> wrote:
Indeed. We would love to see this included. It is particularly important when we are auditing which cookbooks are on which node and what not. In particular
what we have in a recipe, (derived from the knife audit plugin) is as follows. It would be nice to eliminate the need for this.
ruby_block "get_seen_recipes" do
block do
node.override["knife_audit"]["seen_recipes"] = node.run_state[:seen_recipes]
end
action :create
end
--
Cheers,
Peter Donald
Archive powered by MHonArc 2.6.16.