Commit graph

6367 commits

Author SHA1 Message Date
Darko Poljak c9810d0483 Adapt order dependency impl to python types impl 2019-12-02 12:36:15 +01:00
Darko Poljak 077240746c Align with shell type: implement onchange 2019-12-02 12:36:15 +01:00
Darko Poljak b8391ecfa8 Remove unnecessary files 2019-12-02 12:36:15 +01:00
Darko Poljak 520c532382 Take stat from latest shell __file type 2019-12-02 12:36:15 +01:00
Darko Poljak e36b0a852a Make python file type default, mv old to __file_old 2019-12-02 12:36:15 +01:00
Darko Poljak ac8c9fa842 Add support for python type defined argument parser 2019-12-02 12:36:15 +01:00
Darko Poljak 00f85be81b Implement python types 2019-12-02 12:36:15 +01:00
Dominique Roux e447d1aa87 Updated the man pages for the cdist trigger and preos 2019-12-02 12:36:15 +01:00
Darko Poljak a36a9f17a3 Add missing configuration arg 2019-12-02 12:36:15 +01:00
Darko Poljak 054020ee44 Update trigger to config 2019-12-02 12:36:15 +01:00
Darko Poljak a0247479ec Log trigger server error 2019-12-02 12:36:15 +01:00
Darko Poljak 1e9b8b7ae4 ++ 2019-12-02 12:36:15 +01:00
Darko Poljak e67f5a2592 Implement triggering functionality 2019-12-02 12:36:15 +01:00
Darko Poljak 8c0ee28b99 gitlab CI runner should have necessary tools 2019-12-02 12:35:43 +01:00
poljakowski 648cdf8e29 Add LICENSE 2019-12-01 14:23:02 +01:00
Darko Poljak a1f33ca8eb Release 6.2.0 2019-11-30 23:11:36 +01:00
Darko Poljak b3012b9911 ++changelog 2019-11-29 13:56:32 +01:00
poljakowski 131c736d22 Merge branch 'order-dep-fix' into 'master'
Redefine/reimplement CDIST_ORDER_DEPENDENCY

See merge request ungleich-public/cdist!815
2019-11-29 13:55:43 +01:00
Darko Poljak 332f5dcff9 Redefine/reimplement CDIST_ORDER_DEPENDENCY
Update documentation.
2019-11-29 13:50:08 +01:00
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

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
2019-11-27 15:04:47 +01:00
Darko Poljak f3bd439c43 Add gitlab CI 2019-11-27 15:03:49 +01:00
Darko Poljak 3d3b59ab87 Add pycodestyle ignores 2019-11-27 14:59:25 +01:00
Darko Poljak c01aa576de Add/keep empty directories 2019-11-27 14:51:28 +01:00
Darko Poljak 3b5aa8654d Release 6.1.1 2019-11-26 19:24:15 +01:00
Darko Poljak d1c3264cce Revert "Merge branch '__clean_path_use_types' into 'master'"
This reverts commit 073523be38, reversing
changes made to 56435492a0.
2019-11-26 17:58:25 +01:00
Darko Poljak 8236de763f Revert "++changelog"
This reverts commit e44219903a.
2019-11-26 17:57:19 +01:00
Darko Poljak e44219903a ++changelog 2019-11-25 21:01:20 +01:00
poljakowski 073523be38 Merge branch '__clean_path_use_types' into 'master'
__clean_path: use __directory and __file types for better clarity

See merge request ungleich-public/cdist!816
2019-11-25 21:00:23 +01:00
ander 2848a6a0f4 __clean_path: use __directory and __file types for better clarity 2019-11-25 21:52:00 +02:00
Darko Poljak 56435492a0 ++changelog 2019-11-24 17:18:02 +01:00
poljakowski ed16270d94 Merge branch 'patch-1' into 'master'
give error msg to stderr

See merge request ungleich-public/cdist!813
2019-11-24 17:18:34 +01:00
moep 64b07af4ab give error msg to stderr 2019-11-24 17:18:34 +01:00
Darko Poljak b876ebb16e ++changelog 2019-11-22 19:59:52 +01:00
poljakowski cd8ffd9046 Merge branch '__hostname_fix' into 'master'
__hostname: silence grep exit 1, when os_version is not numeric

See merge request ungleich-public/cdist!814
2019-11-22 19:49:10 +01:00
ander 4ed18e3446 __hostname: silence grep exit 1, when os_version is not numeric
on Debian Sid os_version returns 'bullseye/sid'
2019-11-22 18:56:34 +02:00
Darko Poljak b8c6f8c8f5 ++changelog 2019-11-21 17:01:27 +01:00
poljakowski 8efd2681db Merge branch '__apt_key_mktemp_gpghome' into 'master'
__apt_key: use mktemp for unique temporary gpg home

See merge request ungleich-public/cdist!812
2019-11-21 17:01:10 +01:00
ander 01bd01573e __apt_key: use mktemp for unique temporary gpg home 2019-11-21 14:15:51 +02:00
Darko Poljak ac2463fe31 ++changelog 2019-11-20 20:58:42 +01:00
poljakowski 96ffb4fd02 Merge branch 'xymon_client-msgcache' into 'master'
add `--msgcache`-parameter to support passive clients (__xymon_client)

See merge request ungleich-public/cdist!811
2019-11-20 20:59:10 +01:00
poljakowski 37ee988d1f Merge branch 'xymon_config-excludes' into 'master'
add parameters for ownership and generic rsync-options (__xymon_config)

See merge request ungleich-public/cdist!810
2019-11-20 20:57:31 +01:00
tom 552860b9cd add parameters for ownership and generic rsync-options (__xymon_config) 2019-11-20 15:49:25 +01:00
tom 34bd96db4b add --msgcache-parameter to support passive clients (__xymon_client)
Fix a typo along the way, too.
2019-11-20 15:47:25 +01:00
Darko Poljak 0bc00477ae Release 6.1.0 2019-11-19 21:54:56 +01:00
Darko Poljak 6c67d7194a ++changelog 2019-11-19 21:53:40 +01:00
poljakowski d10dfa7807 Merge branch 'hostname' into 'master'
[__hostname] Support more operating systems

See merge request ungleich-public/cdist!802
2019-11-19 21:51:54 +01:00
Darko Poljak c1633d9301 Release 6.0.4 2019-11-19 21:29:45 +01:00
Dennis Camera a45e306123 [__hostname] Better support different versions of SuSE 2019-11-17 19:39:09 +01:00
Dennis Camera f18bdd1fad [__hostname] Comment out support for ancient ArchLinux versions 2019-11-16 23:33:23 +01:00
Dennis Camera a885082534 [__hostname] Little bit of clean up 2019-11-16 14:58:30 +01:00