- 21 Dec, 2020 1 commit
-
-
Darko Poljak authored
-
- 18 Dec, 2020 3 commits
-
-
Darko Poljak authored
-
Darko Poljak authored
Added optional dirmode parameter to set the mode of (optional) the directory. See merge request !966
-
Mark Verboom authored
-
- 13 Dec, 2020 3 commits
-
-
Darko Poljak authored
-
Darko Poljak authored
__apt_backports type See merge request ungleich-public/cdist!964
-
Darko Poljak authored
[explorer/os_version] Improve FreeBSD support. See merge request ungleich-public/cdist!965
-
- 12 Dec, 2020 6 commits
-
-
matze authored
Becuase it is already done by __apt_source.
-
matze authored
s/-/_/ because the explorers are following an other convention :-)
-
Evil Ham authored
It looks like uname -r is not the most reliable way to get the target patch level for the target system. For more information see: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251743
-
matze authored
This type now automatically calls the type __apt_update_index to update the package index if something changed.
-
matze authored
The manpage now lists all OSes where this type supports backports.
-
matze authored
As discussed in the chat, this type now supports a broader list of OSes which it supports backports for. Because of this, it was renamed to something more generic. "apt" should fit in.
-
- 11 Dec, 2020 1 commit
-
-
matze authored
Because the sourced explorer can't be detected by shellcheck, it will be completely disabled. Changing the path to /etc/os-release isn't deterministic either. The shellcheck wiki page suggests to use `source=/dev/null` instead of `disable=SC1090`, but it was choosen to completely avoid that check ..
-
- 10 Dec, 2020 1 commit
-
-
matze authored
This new type will setup the backports distribution for the current Debian release.
-
- 08 Dec, 2020 4 commits
-
-
Darko Poljak authored
-
Darko Poljak authored
__block: fix escaping in here-doc Closes #838 See merge request ungleich-public/cdist!962
-
Darko Poljak authored
-
Darko Poljak authored
__iptables*: add IPv6 support See merge request ungleich-public/cdist!959
-
- 07 Dec, 2020 4 commits
-
-
matze authored
Because the function already exists, it will be used for the file to be changed, too. Therefor, no quotes are required for that value. The prefix and suffix match was also improved: There is no regex check any more (the regex did checked the whole line); instead it will do it simple.
-
Darko Poljak authored
-
Darko Poljak authored
Deal with deprecation of imp module. See merge request ungleich-public/cdist!963
-
Darko Poljak authored
__package_pkgng_freebsd: Fix bootstrapping pkg(7) See merge request ungleich-public/cdist!961
-
- 06 Dec, 2020 2 commits
-
-
Evil Ham authored
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 ```
-
matze authored
This changes the here-document to do not interpret any shell-things. It also single-quotes some more strings that are printed to code-remote. Fixes #838
-
- 04 Dec, 2020 6 commits
-
-
matze authored
Do we need all the copyright header or is this sufficient? The licence is given for cdist, but not on the target host. But it should be clear anyway.
-
ssrq authored
-
matze authored
-
Darko Poljak authored
-
Darko Poljak authored
-
Darko Poljak authored
Hotfix: Add cdist.scan to packages See merge request ungleich-public/cdist!960
-
- 02 Dec, 2020 4 commits
- 30 Nov, 2020 1 commit
-
-
matze authored
Because it currently only support IPv4. To implement this, it falls back to IPv4 for backward compatibilty, but now supports rules for IPv6 and both protocols at the same time.
-
- 20 Nov, 2020 3 commits
-
-
Darko Poljak authored
-
Darko Poljak authored
-
Darko Poljak authored
__localedef: Add new type to replace __locale See merge request ungleich-public/cdist!951
-
- 19 Nov, 2020 1 commit
-
-
Darko Poljak authored
-