• Joined on 2021-11-20
ungleich-gitea commented on issue ungleich-public/cdist#137 2021-11-20 15:42:33 +00:00
"messaging" in cdist: What should be messaged?

Created by: telmich

I agree rephrasing it to "Every change to the target system SHOULD result in a message". Even though consistency is a nice thing, I would not recommend to implement it, when…

ungleich-gitea commented on issue ungleich-public/cdist#137 2021-11-20 15:42:31 +00:00
"messaging" in cdist: What should be messaged?

Created by: tom-ee

The rephrased version combined with a recommendation against implemention it if it's not used is the current state.

For debugging inspecting code-* is the best way for…

ungleich-gitea commented on issue ungleich-public/cdist#137 2021-11-20 15:42:30 +00:00
"messaging" in cdist: What should be messaged?

closed

ungleich-gitea commented on issue ungleich-public/cdist#136 2021-11-20 15:42:29 +00:00
"relaying" messages?

closed

ungleich-gitea commented on issue ungleich-public/cdist#135 2021-11-20 15:42:27 +00:00
messaging and documentation of __consul

Created by: darko-poljak

@tom-ee Thanks for pointing this. 1f93e7291e

ungleich-gitea commented on issue ungleich-public/cdist#134 2021-11-20 15:42:26 +00:00
local cache ~/.cdist/cache/<md5 hash>

Created by: darko-poljak

@tom-ee You can change host cache directory name, see CACHE PATH PATTERN FORMAT in cdist man page. This is also mentioned in local cache overview docs chapter.

It was…

ungleich-gitea commented on issue ungleich-public/cdist#134 2021-11-20 15:42:24 +00:00
local cache ~/.cdist/cache/<md5 hash>

Created by: tom-ee

Ah, that makes perfect sense. Thank you for the explanation.

ungleich-gitea commented on issue ungleich-public/cdist#133 2021-11-20 15:42:23 +00:00
[BETA] bug: error info lost with parallel (option -j)

Created by: tom-ee

Might help with narrowing this down: Does the stderr make it (to stdout sic) if the output-stream-capture is disabled with -S?

ungleich-gitea commented on issue ungleich-public/cdist#133 2021-11-20 15:42:22 +00:00
[BETA] bug: error info lost with parallel (option -j)

When running cdist config -b -j4 -S localhost, the stderr indeed is on stdout:

This is my stderr
ERROR: [7241]: localhost: Command failed: '/bin/sh -e…
ungleich-gitea commented on issue ungleich-public/cdist#133 2021-11-20 15:42:20 +00:00
[BETA] bug: error info lost with parallel (option -j)

Created by: darko-poljak

@AnotherKamila Can you test? cf36aece7d

ungleich-gitea commented on issue ungleich-public/cdist#132 2021-11-20 15:42:17 +00:00
__consul fails if consul is already running

Created by: darko-poljak

@telmich Does this happen when using default non-direct, staged file method, too?

ungleich-gitea commented on issue ungleich-public/cdist#132 2021-11-20 15:42:16 +00:00
__consul fails if consul is already running

Created by: darko-poljak

Ah, unzip should be rewritten to unzip to temp then rm orig then mv temp to orig. It is the way unix/linux kernel and inodes work.

ungleich-gitea commented on issue ungleich-public/cdist#132 2021-11-20 15:42:15 +00:00
__consul fails if consul is already running

Created by: darko-poljak

@telmich Can you test b870b6e43a ? Thanks!

ungleich-gitea commented on issue ungleich-public/cdist#132 2021-11-20 15:42:13 +00:00
__consul fails if consul is already running

Created by: darko-poljak

Tested with consul agent running.

ungleich-gitea commented on issue ungleich-public/cdist#131 2021-11-20 15:42:12 +00:00
--beta on the commandline does not seem to work

Created by: matthijskooijman

It seems that this also breaks the CDIST_BETA env var. It is parsed properly, but then overwritten with the default False from the commandline here:…

ungleich-gitea commented on issue ungleich-public/cdist#131 2021-11-20 15:42:10 +00:00
--beta on the commandline does not seem to work

Created by: darko-poljak

@matthijskooijman Hi! Thanks for analysis. I am not sure for above, if argparse supports this, I have to check. And for CDIST_BETA and beta default part, I will check and…

ungleich-gitea commented on issue ungleich-public/cdist#131 2021-11-20 15:42:09 +00:00
--beta on the commandline does not seem to work

Created by: darko-poljak

@matthijskooijman I think that the right way would be:

$ ./bin/cdist inventory -h
usage: cdist inventory [-h] {add-host,add-tag,del-host,del-tag,list}…
ungleich-gitea commented on issue ungleich-public/cdist#131 2021-11-20 15:42:07 +00:00
--beta on the commandline does not seem to work

Created by: darko-poljak

Fixed argparse parsers' parent references so options are now fixed/more consistent.

ungleich-gitea commented on issue ungleich-public/cdist#131 2021-11-20 15:42:06 +00:00
--beta on the commandline does not seem to work

Created by: matthijskooijman

Looks good for the --beta option, sounds like the right way to fix this. CDIST_BETA env doesn't work yet, though.