|
|
|
@ -127,12 +127,31 @@ is only created on the host ***localhost***. |
|
|
|
|
|
|
|
|
|
As you can see, there is no magic involved, the manifest is simple shell code that |
|
|
|
|
utilises cdist types. Every available type can be executed like a normal |
|
|
|
|
command. Use **ls conf/type** to get a list of available types. |
|
|
|
|
|
|
|
|
|
command. Use **ls conf/type** to get a list of available types. If you have |
|
|
|
|
setup the MANPATH correctly as, you can use **man cdist-reference** to access |
|
|
|
|
the reference with pointers to the manpages. |
|
|
|
|
|
|
|
|
|
PARTS BELOW HERE ARE TO-BE-DONE |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MANAGING YOUR OWN CONFIGURATION |
|
|
|
|
------------------------------- |
|
|
|
|
|
|
|
|
|
CREATING YOUR FIRST OWN TYPE |
|
|
|
|
---------------------------- |
|
|
|
|
=> short example, reference to cdist-type(7)! |
|
|
|
|
|
|
|
|
|
<with object id? or signleton here already> |
|
|
|
|
|
|
|
|
|
Debug with var - can be used by yourself |
|
|
|
|
__debug:: |
|
|
|
|
If this variable is setup, cdist runs in debug mode. |
|
|
|
|
You can use this information, to only output stuff in debug |
|
|
|
|
mode as well. |
|
|
|
|
Available for: initial manifest, type manifest, gencode, code |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MORE ABOUT TYPES AND OBJECTS |
|
|
|
|
---------------------------- |
|
|
|
|
All available types in cdist can be called like normal executables. |
|
|
|
@ -143,9 +162,6 @@ USING SOME BASIC TYPES |
|
|
|
|
what is a type, how to use it, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CREATING YOUR FIRST OWN TYPE |
|
|
|
|
---------------------------- |
|
|
|
|
<with object id? or signleton here already> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
USE A TYPE TO BUNDLE FUNCTIONALITY |
|
|
|
@ -159,18 +175,9 @@ global, type explorer |
|
|
|
|
|
|
|
|
|
DEBUGGING YOUR TYPES |
|
|
|
|
-------------------- |
|
|
|
|
__debug:: |
|
|
|
|
If this variable is setup, cdist runs in debug mode. |
|
|
|
|
You can use this information, to only output stuff in debug |
|
|
|
|
mode as well. |
|
|
|
|
Available for: initial manifest, type manifest, gencode, code |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BRANCHES IN HERE? |
|
|
|
|
------------ |
|
|
|
|
|
|
|
|
|
TUNING CDIST |
|
|
|
|
------------ |
|
|
|
|
|
|
|
|
|