cdist/cdist
Darko Poljak da274e5ef3 Redefine/reimplement CDIST_ORDER_DEPENDENCY
CDIST_ORDER_DEPENDENCY now defines type order dependency context.
cdist (emulator) maintains global state variables, as files,
order_dep_state and typeorder_dep, and per object state variable,
as file, typeorder_dep.

If order_dep_state exists then this defines that order dependency is
turned on.
If order_dep_state does not exist then order dependency is turned off.

If order dependency is on then objects created after it is turned on are
recorded into:
    * global typeorder_dep, in case of init manifest
    * object's typeorder_dep, in case of type's manifest.

If order dependency is on then requirement is injected, where object
created before current, is read from:
    * global typeorder_dep, in case of init manifest
    * object's typeorder_dep, in case of type's manifest.

Every time order dependency is turned off, typeorder_dep files are
removed, which means that type order list is cleared, context is
cleaned.

In the end cdist cleans after itself, i.e. mentioned files are removed.

When running type manifest is finished typeorder_dep file is removed.
When running config finishes global typeorder_dep and order_dep_state
files are removed.

Global type order recording is untouched.
Furthermore, for completeness, type order is now recorded for each object
too.
2019-11-27 15:04:47 +01:00
..
conf Revert "Merge branch '__clean_path_use_types' into 'master'" 2019-11-26 17:58:25 +01:00
core Redefine/reimplement CDIST_ORDER_DEPENDENCY 2019-11-27 15:04:47 +01:00
exec Fix broken quiet mode 2019-04-12 09:13:25 +02:00
preos/debootstrap Release preos, i.e. make it non-beta 2019-09-20 19:56:17 +02:00
sphinxext
test Redefine/reimplement CDIST_ORDER_DEPENDENCY 2019-11-27 15:04:47 +01:00
util Fix DirectoryDict getitem. 2018-10-12 19:08:36 +02:00
__init__.py Report explorer error better 2019-04-20 14:30:28 +02:00
argparse.py Release preos, i.e. make it non-beta 2019-09-20 19:56:17 +02:00
autil.py
banner.py
config.py Redefine/reimplement CDIST_ORDER_DEPENDENCY 2019-11-27 15:04:47 +01:00
configuration.py
emulator.py Redefine/reimplement CDIST_ORDER_DEPENDENCY 2019-11-27 15:04:47 +01:00
flock.py
hostsource.py
install.py
integration.py
inventory.py Fix pycodestyle 2019-05-17 13:03:54 +02:00
log.py
message.py
mputil.py
preos.py Implement preos 2019-09-20 07:15:37 +02:00
shell.py