cdist configuration management Latest manual: https://www.cdi.st/manual/latest/ Home page: https://www.cdi.st
Find a file
Evilham bed08c2c5c Deal with deprecation of imp module.
importlib has been a thing since Python 3.1, and imp has been deprecated since
3.4.

Insert random complaint here about not being able to use f-strings because they
were introduced in Python 3.6 and apparently we support Python 3.5 >,<.

Output diff before to after for ./bin/cdist-build-helper test (on heavy load):
```
1,2d0
< /usr/home/evilham/s/cdist/cdist/cdist/test/__main__.py:23: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
<   import imp
72c70
< ERROR: cdisttesthost: __file/tmp/foobar requires object __file without object id. Defined at /tmp/tmp.cdist.test.g87lx7c8/tmp.cdist.test.6ramsakx
---
> ERROR: cdisttesthost: __file/tmp/foobar requires object __file without object id. Defined at /tmp/tmp.cdist.test.aqdf6vjz/tmp.cdist.test.jgv3udel
76c74
< test_nonexistent_type_requirement (cdist.test.emulator.EmulatorTestCase) ... ERROR: cdisttesthost: __file/tmp/foobar requires object __does-not-exist/some-id, but type __does-not-exist does not exist. Defined at /tmp/tmp.cdist.test.mma5j8ln/tmp.cdist.test.3zg4by4d
---
> test_nonexistent_type_requirement (cdist.test.emulator.EmulatorTestCase) ... ERROR: cdisttesthost: __file/tmp/foobar requires object __does-not-exist/some-id, but type __does-not-exist does not exist. Defined at /tmp/tmp.cdist.test.t8d6ockr/tmp.cdist.test.uimxurg9
86c84
< test_initial_manifest_environment (cdist.test.manifest.ManifestTestCase) ... VERBOSE: cdisttesthost: Running initial manifest /tmp/tmp.cdist.test.uvid60ij/759547ff4356de6e3d9e08522b0d0807/data/conf/manifest/dump_environment
---
> test_initial_manifest_environment (cdist.test.manifest.ManifestTestCase) ... VERBOSE: cdisttesthost: Running initial manifest /tmp/tmp.cdist.test._cttcnrj/759547ff4356de6e3d9e08522b0d0807/data/conf/manifest/dump_environment
89c87
< test_type_manifest_environment (cdist.test.manifest.ManifestTestCase) ... VERBOSE: cdisttesthost: Running type manifest /tmp/tmp.cdist.test.k1i2onpb/759547ff4356de6e3d9e08522b0d0807/data/conf/type/__dump_environment/manifest for object __dump_environment/whatever
---
> test_type_manifest_environment (cdist.test.manifest.ManifestTestCase) ... VERBOSE: cdisttesthost: Running type manifest /tmp/tmp.cdist.test.ukr7lrzd/759547ff4356de6e3d9e08522b0d0807/data/conf/type/__dump_environment/manifest for object __dump_environment/whatever
272c270
< Ran 225 tests in 44.457s
---
> Ran 225 tests in 43.750s
```
2020-12-06 20:24:00 +01:00
bin Fix importing cdist module 2020-11-14 10:23:43 +01:00
cdist Deal with deprecation of imp module. 2020-12-06 20:24:00 +01:00
completions Implement preos 2019-09-20 07:15:37 +02:00
configuration Restrict colored_output value to always/never/auto. 2020-06-06 13:45:31 +02:00
docs Release 6.9.3 2020-12-04 15:31:35 +01:00
hacking Add timing hack / test1 2019-10-18 19:45:19 +02:00
other Fix typo in cdist-ci image README 2020-04-21 08:15:51 +02:00
.gitattributes Update build helper script in .gitattributes 2020-11-14 09:59:30 +01:00
.gitignore Rm cdist-type prefix and man page ref from docs 2019-12-06 10:00:32 +01:00
.gitlab-ci.yml [.gitlab-ci.yml] Make version before other targets 2020-11-11 14:49:04 +01:00
LICENSE Add LICENSE 2019-12-01 14:23:02 +01:00
Makefile Fix building man pages 2020-07-29 11:31:12 +02:00
MANIFEST.in add package data info 2012-10-29 22:18:32 +01:00
PKGBUILD.in Update old homepage residual refs and non working git protocol 2019-05-09 08:26:42 +02:00
README-maintainers s/build-helper/cdist-build-helper/ 2020-10-18 17:13:22 +03:00
README.md README: add bits about cdist-contrib 2020-04-27 16:30:52 +03:00
setup.py [setup.py] Add cdist.scan to packages 2020-12-02 19:54:41 +01:00

cdist

cdist is a usable configuration management system.

It adheres to the KISS principle and is being used in small up to enterprise grade environments.

For more information have a look at homepage or at docs/src for manual in reStructuredText format.

Contributing

Merge/Pull requests can be made in both upstream GitLab (managed by ungleich) and GitHub project.

Issues can be made and other project management activites happen only in GitLab (needs ungleich account).

For community-maintained types there is cdist-contrib project.

Participating

IRC: #cdist @ freenode

Matrix: #cdist:ungleich.ch

Mattermost: https://chat.ungleich.ch/ungleich/channels/cdist