- From: Brad Knowles <
>
- To:
- Cc: Brad Knowles <
>
- Subject: [chef] Re: Re: passing attributes to recipes
- Date: Thu, 9 Feb 2012 12:12:42 -0600
On Feb 9, 2012, at 12:08 PM, Brad Montgomery wrote:
>
I'm also fairly new to Chef, but I've been doing this with data bags. You
>
might create a data bag called "build_info", and it might contain an item
>
called "build01". That item would then list the file names or build
>
numbers that you want.
One thing to be careful about is that data bags do not handle multiple
writers well. If you have multiple processes writing to the same data bag at
the same time, you can get data loss or corruption. So long as you ensure
that you only ever have a single process that is writing to a data bag at any
one point in time, you should be fine.
--
Brad Knowles
<
>
SAGE Level IV, Chef Level 0.0.1
Archive powered by MHonArc 2.6.16.