• Joined on 2021-11-20
ungleich-gitea commented on issue ungleich-public/cdist#169 2021-11-20 15:45:44 +00:00
Dependency handling failing

Created by: darko-poljak

@jdguffey If you put in the manifest only the line:

__directory /usr/local/keys --owner root --group wheel --mode 755

does it create the directory?

Can you send debug…

ungleich-gitea commented on issue ungleich-public/cdist#169 2021-11-20 15:45:42 +00:00
Dependency handling failing

Created by: jdguffey

@darko-poljak It does. See the attached file.

The issue I'm having is that cdist isn't even attempting to…

ungleich-gitea commented on issue ungleich-public/cdist#169 2021-11-20 15:45:41 +00:00
Dependency handling failing

Created by: darko-poljak

@jdguffey Hm.. Does this happen for more complex manifest or it happens even for only those two lines:

__directory /usr/local/keys --owner root --group wheel --mode…

ungleich-gitea commented on issue ungleich-public/cdist#169 2021-11-20 15:45:39 +00:00
Dependency handling failing

Created by: jdguffey

It does work.

ls -lrt /usr/local/keys/

total 2 -rw-r--r-- 1 root wheel 800 Jun 7 00:18 pkg.pub

ungleich-gitea commented on issue ungleich-public/cdist#169 2021-11-20 15:45:38 +00:00
Dependency handling failing

Created by: jdguffey

Also, I just discovered something after looking through my hierarchical manifests...

The particular subordinate manifest I was sourcing included a…

ungleich-gitea commented on issue ungleich-public/cdist#169 2021-11-20 15:45:37 +00:00
Dependency handling failing

Created by: darko-poljak

@jdguffey From the code, cdist will raise an error if object already exists and CDIST_OVERRIDE is not defined and if already existing object parameters differ from…

ungleich-gitea commented on issue ungleich-public/cdist#169 2021-11-20 15:45:36 +00:00
Dependency handling failing

Created by: telmich

I think if we encounter an object with a requirement after we found one without requirement the only sane thing is to abort.

If we don't abort we have a confused user…

ungleich-gitea commented on issue ungleich-public/cdist#169 2021-11-20 15:45:34 +00:00
Dependency handling failing

Created by: darko-poljak

Merged PR https://github.com/ungleich/cdist/issues/441. Fixed in new version.

ungleich-gitea commented on issue ungleich-public/cdist#168 2021-11-20 15:45:33 +00:00
__line doesn't seem to log changes

Created by: darko-poljak

@toupeira __line does not implement messaging.

@telmich We should add this to __line type.

ungleich-gitea commented on issue ungleich-public/cdist#168 2021-11-20 15:45:31 +00:00
__line doesn't seem to log changes

Created by: toupeira

Maybe cdist should log generic messages for all "applied" types, and maybe things like whether a gencode-local or gencode-remote produced any output? (not sure if the…

ungleich-gitea commented on issue ungleich-public/cdist#168 2021-11-20 15:45:30 +00:00
__line doesn't seem to log changes

Created by: telmich

@toupeira I think that feature already exists, aside from messaging :-)

ungleich-gitea commented on issue ungleich-public/cdist#168 2021-11-20 15:45:29 +00:00
__line doesn't seem to log changes

Created by: toupeira

@telmich not sure what you mean :) So is it currently possible to detect if a __line type actually caused a change?

ungleich-gitea commented on issue ungleich-public/cdist#168 2021-11-20 15:45:27 +00:00
__line doesn't seem to log changes

Created by: toupeira

@darko-poljak thanks! 👍

ungleich-gitea commented on issue ungleich-public/cdist#168 2021-11-20 15:45:26 +00:00
__line doesn't seem to log changes

Created by: darko-poljak

@toupeira Thanks to @tom-ee !

ungleich-gitea commented on issue ungleich-public/cdist#167 2021-11-20 15:45:24 +00:00
Ordering of commands in main manifest is ignored

Created by: darko-poljak

Daniel,

The order of execution in the manifests does not matter: cdist employs an idempotent configuration.

If you want to describe that something requires something…

ungleich-gitea commented on issue ungleich-public/cdist#167 2021-11-20 15:45:23 +00:00
Ordering of commands in main manifest is ignored

Created by: zilti

Ah, yes, this variable helped. Thanks!

ungleich-gitea commented on issue ungleich-public/cdist#165 2021-11-20 15:45:20 +00:00
Type __package_yum prompts for question in rare cases (and shouldn't)

Created by: telmich

According to @asteven this might actually not have "hung for waiting", but more likely "hung for other reasons" and me pressing return might not have changed anything at all.…

ungleich-gitea commented on issue ungleich-public/cdist#164 2021-11-20 15:45:19 +00:00
Improve case matching - strip domain part for -f/file read

Created by: telmich

@asteven do you remember if we had good arguments to not provide this variable (besides finding an appropriate name)?

I think we discussed that it can easily be matched with…

ungleich-gitea commented on issue ungleich-public/cdist#164 2021-11-20 15:45:17 +00:00
Improve case matching - strip domain part for -f/file read

Created by: xorpierre

Alternative: make it work that I dont have to use the FQDN in the file. Even with search domain.tld in resolv.conf that doesnt work with cdist. Works fine with ssh&co