- From: Joel Merrick <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: A case for 'run once' recipes
- Date: Wed, 23 Sep 2009 21:09:23 +0100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=GkH6mJQ3Y1RWm5/cdt3hezfa7jp7XZ36Hn996KNd6BsP9Kx7aVZ+Yltu7ZLiIO5w/H E9xGvdO+G2EMavB9c0f144lw2LjEatA6sM5wd8dLIkzK92AWOPylmxZA5N3wrDSyjiQG qYGXiUYaCOmMACVFlB96oLxvFPiTQvy3VVel4=
On Wed, Sep 23, 2009 at 9:05 PM, Caleb Tennis
<
>
wrote:
>
>
Arjuna made an example in the wiki,
>
http://wiki.opscode.com/display/chef/Libraries, for an ISP scenario, that I
>
still have to test. With my limited knowledge of chef at this stage it seems
>
that it would rebuild everything on every run for every user. I will
>
probably stand corrected here.
>
>
I think you just need to spend more time with it - it'll do exactly what
>
you're looking for, and if you need something that's edge-case, you can
>
coerce it to do that too.
>
In this case, it doesn't rebuild everything on every run for every user. It
>
just ensures that what's there is as you've specified. If it hasn't
>
changed, it won't touch it.
>
I think you'll find it'll do exactly what you need.
>
Caleb
I've not looked deeply into it, but would it not be possible to have a
flag which says if the account has been provisioned or not if you need
to do something exotic. I would have thought that for the most part
though, they should generally be run once
--
$ echo "kpfmAdpoofdufevq/dp/vl" | perl -pe 's/(.)/chr(ord($1)-1)/ge'
Archive powered by MHonArc 2.6.16.