- From: Peter Donald <
>
- To: Chef Mailing List <
>
- Subject: [chef] Re: Re: Re: Re: Feeding chef with Inventory Database
- Date: Wed, 20 Nov 2013 09:55:14 +1100
Hi,
On Mon, Nov 18, 2013 at 9:20 PM, aL.
<
>
wrote:
>
I see two ways of updating those data bags.
>
>
Sync: post-save action / hook on yout inventory app.
>
Async: cron's scheduled
>
>
On both ways, there are a question mark: How often commit that changes on
>
databags to the chef-repo? each update? each XX minutes? manually?
We ended up to doing it on a case by case basis - ultimately it
depends on the volatility of the external configuration data and how
important it is to align with the chef infrastructure. For example our
"release" process basically updates version in external system which
triggers a synchronize to chef which triggers an orchestration flow
(which may trigger a rollback to previous version in the external
system if the flow fails). While some of our user data is synchronized
once per night.
--
Cheers,
Peter Donald
Archive powered by MHonArc 2.6.16.