-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
127 additions
and
94 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Design | ||
====== | ||
|
||
Components | ||
---------- | ||
|
||
The `Mold Standard` defines | ||
|
||
1. The **actors** that use and produce | ||
2. structured **documents** | ||
3. in a pattern of **routines** | ||
4. to make **resources** conform to a desired state. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
Mold Standard | ||
============= | ||
|
||
This and the linked documents, known collectively as the `Mold Standard`, define a standard for configuration management systems. | ||
This and the linked documents, known collectively as the `Mold Standard`, define a standard for configuration management systems. | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:maxdepth: 3 | ||
|
||
design | ||
actors | ||
documents | ||
routines | ||
schema/index |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Routines | ||
======== | ||
|
||
|
||
Mold | ||
---- | ||
|
||
This routine finds out what state a system should be in, then does what's needed to make it conform to that state. | ||
|
||
Here's some pseudo code describing how the state of a machine is set: | ||
|
||
.. code-block:: python | ||
facts = FactChecker() | ||
prescription = Prescriber(facts) | ||
while 1: | ||
observation = Observer(prescription) | ||
steps = Choreographer(facts, prescription, observation) | ||
if not steps: | ||
break | ||
Performer(steps) | ||
An implementation might replace some or most of those function calls with calls to remote systems. Neither error handling nor logging are shown in the pseudo code. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Resources | ||
========= | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters