From c1b548da49fa1d8e64046ad96271b543877a3053 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 15 Jan 2011 18:02:01 +0100 Subject: [PATCH] cdist vs. providers Signed-off-by: Nico Schottelius --- doc/internal/provider-integration | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/doc/internal/provider-integration b/doc/internal/provider-integration index 2e33a9fc..1e25e77b 100644 --- a/doc/internal/provider-integration +++ b/doc/internal/provider-integration @@ -40,3 +40,22 @@ attributes. (either via cconfig or via environment) and outputs a block of shell code suitable for running on the client. + + +-------------------------------------------------------------------------------- +cdist view on providers: + +How providers are integrated/run: + + - If cdist encounters provider in manifest, + a wrapper script is run, that creates a + new entry in the cconfig database and adds + attribute values: + + conf/__file/cdist_bin/source + conf/__file/cdist_bin/destination + + - In this stage, no conflicts may occur, as + no provider code has been called (i.e. only + manifests, which map config to hosts is + applied).