- From: Brad Knowles <
>
- To:
- Cc: Brad Knowles <
>, Bryan McLellan <
>,
- Subject: [chef] Re: Re: Identifying if a node is being bootstrapped
- Date: Fri, 9 Mar 2012 13:52:58 -0600
On Mar 9, 2012, at 12:41 PM, John E. Vincent (lusis) wrote:
>
The question still stands (and I think there's a valid use case for
>
it). A good example has already come up several times - changing the
>
hostname of a system. You only need to do it once, reload ohai, and
>
continue on with the run. It's not something you need to do more than
>
once and it's not something you WANT to do every single run.
With hostname, you can keep that recipe in the run_list. Check to see that
the hostname is of the format you want with an only_if/not_if guard, but the
rest can stay there without any risk of harming anything.
We do this today, and it is precisely for the hostname issue.
--
Brad Knowles
<
>
SAGE Level IV, Chef Level 0.0.1
Archive powered by MHonArc 2.6.16.