• Joined on 2021-11-20
ungleich-gitea commented on issue ungleich-public/cdist#111 2021-11-20 15:40:16 +00:00
Allow custom SSH options

Created by: matthijskooijman

Cdist is currently not really tied to ssh in any way.

Well, the default commands that are generated call SSH, with SSH-specific options, so it is tied to SSH…

ungleich-gitea commented on issue ungleich-public/cdist#111 2021-11-20 15:40:14 +00:00
Allow custom SSH options

Created by: telmich

This is a very interesting discussion. My two points for the moment (more to come):

  • cdist should stay agnostic of transport
  • cdist should support remembering transport…
ungleich-gitea commented on issue ungleich-public/cdist#111 2021-11-20 15:40:13 +00:00
Allow custom SSH options

closed

ungleich-gitea commented on issue ungleich-public/cdist#110 2021-11-20 15:40:11 +00:00
How to print messages from manifests?

Created by: thriqon

Send it to standard error:

#!/bin/bash

__cdistmarker

echo "Hello, user!" >&2

__file /etc/config-file --state exists .....

You can also abort…

ungleich-gitea commented on issue ungleich-public/cdist#110 2021-11-20 15:40:10 +00:00
How to print messages from manifests?

Created by: matthijskooijman

Thanks for your swift reply! Unfortunately, I missed it back then, but found it now while I'm working with cdist again.

I tried your suggestion, but my output is…

ungleich-gitea commented on issue ungleich-public/cdist#110 2021-11-20 15:40:09 +00:00
How to print messages from manifests?

Created by: matthijskooijman

Looking more closely at the --disable-saving-streams option, that makes all output from all manifests show up, not just the initial manifest. In my case, all of…

ungleich-gitea commented on issue ungleich-public/cdist#110 2021-11-20 15:40:08 +00:00
How to print messages from manifests?

Created by: matthijskooijman

Thinking even more closely, Ideally I would be able to hook into the log level system from inside a manifest, but I can imagine that's not so trival to add..

ungleich-gitea commented on issue ungleich-public/cdist#110 2021-11-20 15:40:06 +00:00
How to print messages from manifests?

Created by: asteven

Thinking even more closely, Ideally I would be able to hook into the log level system from inside a manifest, but I can imagine that's not so trival to add..

I was…

ungleich-gitea commented on issue ungleich-public/cdist#110 2021-11-20 15:40:05 +00:00
How to print messages from manifests?

Created by: matthijskooijman

In terms of implementation, I think that would mean opening up an extra pipe to the process (on e.g. fd 3) and printing messages in some format (probably just lines…

ungleich-gitea commented on issue ungleich-public/cdist#110 2021-11-20 15:40:04 +00:00
How to print messages from manifests?

Created by: asteven

I was thinking more of the parent process running a log server on a socket. It shares the config for this via environment. Client process picks this up and configures it's…

ungleich-gitea commented on issue ungleich-public/cdist#110 2021-11-20 15:40:02 +00:00
How to print messages from manifests?

Created by: matthijskooijman

I was thinking more of the parent process running a log server on a socket.

You mean on a UNIX socket or TCP socket? These have the downside that they expose the…

ungleich-gitea commented on issue ungleich-public/cdist#110 2021-11-20 15:40:01 +00:00
How to print messages from manifests?

Created by: asteven

UNIX socket would be the obvious choice. I tested using fd's and named pipes but it's much harder to deal with then a socket. Remember that you have n processes writing there…

ungleich-gitea commented on issue ungleich-public/cdist#110 2021-11-20 15:40:00 +00:00
How to print messages from manifests?

Created by: asteven

@darko-poljak This would simplify all the dealing with logging vs output a lot. What say you?

ungleich-gitea commented on issue ungleich-public/cdist#110 2021-11-20 15:39:58 +00:00
How to print messages from manifests?

Created by: matthijskooijman

I was originally thinking to have a single pipe per process, so then you would not have any concurrency problems, but it doesn't scale too well. Using a single socket…

ungleich-gitea commented on issue ungleich-public/cdist#110 2021-11-20 15:39:57 +00:00
How to print messages from manifests?

Created by: darko-poljak

@darko-poljak This would simplify all the dealing with logging vs output a lot. What say you?

Sounds interesting.

ungleich-gitea commented on issue ungleich-public/cdist#110 2021-11-20 15:39:55 +00:00
How to print messages from manifests?

closed

ungleich-gitea commented on issue ungleich-public/cdist#109 2021-11-20 15:39:54 +00:00
__letsencrypt_cert certificate-* explorers fail when certbot does not exist

Created by: darko-poljak

@lubo This might be of interest for you. I have prepared a fix already.

ungleich-gitea commented on issue ungleich-public/cdist#108 2021-11-20 15:39:52 +00:00
Object conflict where there should not be one - or wrong error message

Created by: telmich

manifest/dcl: __ungleich_monit ungleich --config ungleich type/__dcl_ceph: __ungleich_monit ungleich --config ungleich

ungleich-gitea commented on issue ungleich-public/cdist#108 2021-11-20 15:39:51 +00:00
Object conflict where there should not be one - or wrong error message

Created by: telmich

@darko-poljak ping

ungleich-gitea commented on issue ungleich-public/cdist#108 2021-11-20 15:39:50 +00:00
Object conflict where there should not be one - or wrong error message

Created by: darko-poljak

@telmich

/tmp/tmptirtsbvg/9613ea11c03c21bc404d3d251acd217e/data/conf/manifest/init: {'config': 'ungleich', 'state':…