summaryrefslogtreecommitdiffstats
path: root/doc/architecture/goals.txt
blob: 395b574a0df6c987685ea8898e9593d95bd3a028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.. -*- mode: rst -*-

.. _architecture-goals:

Goals
=====

* **Model configurations using declarative semantics.**

  Declarative semantics maximize the utility of configuration management
  tools; they provide the most flexibility for the tool to determine
  the right course of action in any given situation. This means that
  users can focus on the task of describing the desired configuration,
  while leaving the task of transitioning clients states to the tool.

* **Configuration descriptions should be comprehensive.**

  This means that configurations served to the client should be sufficient
  to reproduce all desired functionality. This assumption allows the
  use of heuristics to detect extra configuration, aiding in reliable,
  comprehensive configuration definitions.

* **Provide a flexible approach to user interactions.**

  Most configuration management systems take a rigid approach to user
  interactions; that is, either the client system is always correct,
  or the central system is. This means that users are forced into an
  overly proscribed model where the system asserts where correct data
  is. Configuration data modification is frequently undertaken on both
  the configuration server and clients. Hence, the existence of a single
  canonical data location can easily pose a problem during normal tool
  use. Bcfg2 takes a different approach.

The default assumption is that data on the server is correct, however,
the client has the option to run in another mode where local changes are
catalogued for server-side integration. If the Bcfg2 client is run in dry
run mode, it can help to reconcile differences between current client
state and the configuration described on the server. The Bcfg2 client
also searches for extra configuration; that is, configuration that is
not specified by the configuration description. When extra configuration
is found, either configuration has been removed from the configuration
description on the server, or manual configuration has occurred on the
client. Options related to two-way verification and removal are useful
for configuration reconciliation when interactive access is used.

* Plugins and administrative applications.
* Incremental operations.