• Joined on 2021-11-20
ungleich-gitea commented on issue ungleich-public/cdist#190 2021-11-20 15:47:07 +00:00
__package_yum is locale-dependent; should not

Created by: telmich

I think wherever possible, we should stick to the return code.

However, if I remember correctly the *bsd package managers do not provide us with sensible return codes (i.e.…

ungleich-gitea commented on issue ungleich-public/cdist#190 2021-11-20 15:47:06 +00:00
__package_yum is locale-dependent; should not

closed

ungleich-gitea commented on issue ungleich-public/cdist#189 2021-11-20 15:47:04 +00:00
__apt_key_uri does not work with insecure / untrusted certificates

Created by: telmich

Maybe adding --insecure to the type is the right solution to allow using https sites for which the distro does not have a CA present

ungleich-gitea commented on issue ungleich-public/cdist#188 2021-11-20 15:47:01 +00:00
__postfix_postmap breaks when using hashes

Created by: telmich

@asteven I saw that I can (should) use the filename directly with postmap (so my problem does not really exist), HOWEVER I saw in postmap(1) that there are actually various db…

ungleich-gitea commented on issue ungleich-public/cdist#188 2021-11-20 15:47:00 +00:00
__postfix_postmap breaks when using hashes

closed

ungleich-gitea commented on issue ungleich-public/cdist#187 2021-11-20 15:46:59 +00:00
__postfix_master interpolates variables

Created by: telmich

If I see it correctly, __postfix_master is a re-implementation of __block

ungleich-gitea commented on issue ungleich-public/cdist#187 2021-11-20 15:46:57 +00:00
__postfix_master interpolates variables

Created by: telmich

@asteven wondering, couldn't / shouldn't we use either __block or __line for backing up __postfix_master? Besides the comment field, which could even be used with __line, I see…

ungleich-gitea commented on issue ungleich-public/cdist#187 2021-11-20 15:46:56 +00:00
__postfix_master interpolates variables

Created by: asteven

Nico Schottelius wrote on 11/25/2014 11:26 PM:

@asteven wondering, couldn't / shouldn't we use either __block or __line for backing up __postfix_master? Besides the comment…

ungleich-gitea commented on issue ungleich-public/cdist#187 2021-11-20 15:46:55 +00:00
__postfix_master interpolates variables

closed

ungleich-gitea commented on issue ungleich-public/cdist#186 2021-11-20 15:46:53 +00:00
__line does not have a concept of replacing lines

Created by: matthijskooijman

I've also ran into this one, wanting to update a variable assignment in a file. e.g. I want to replace foo=.* with foo=bar. I want to implement this, but I'm not…

ungleich-gitea commented on issue ungleich-public/cdist#186 2021-11-20 15:46:52 +00:00
__line does not have a concept of replacing lines

Created by: telmich

@matthijskooijman I suggest to create a new type, let's call it __smart_line that is empty that we can reiterate on until satisfied. That way we don't orientate too much on the…

ungleich-gitea commented on issue ungleich-public/cdist#186 2021-11-20 15:46:50 +00:00
__line does not have a concept of replacing lines

Created by: matthijskooijman

I guess things can be added to __line without breaking backward compatibility, but a new type is fine too. I don't really like __smart_line much, since it doesn't…

ungleich-gitea commented on issue ungleich-public/cdist#185 2021-11-20 15:46:48 +00:00
Only apply certain types?

Created by: asteven

Hi toupeira I am are working on this. The idea is to give types a way to set tags, and cdist a way to filter/include/exclude objects based on those tags. Something like…

ungleich-gitea commented on issue ungleich-public/cdist#185 2021-11-20 15:46:46 +00:00
Only apply certain types?

Created by: toupeira

Interesting, though for it to be usable in the way I'm thinking of, I would need to add --tag params to pretty much every type call. How about treating the type name as an…

ungleich-gitea commented on issue ungleich-public/cdist#185 2021-11-20 15:46:45 +00:00
Only apply certain types?

Created by: telmich

I also think --only-type xyz makes sense.

Markus Koller [Wed, Feb 25, 2015 at 01:42:42AM -0800]:

Interesting, though for it to be usable in the way I'm thinking of, I…

ungleich-gitea commented on issue ungleich-public/cdist#185 2021-11-20 15:46:44 +00:00
Only apply certain types?

Created by: toupeira

I guess it can be slightly misleading since any dependent types will necessarily also have to be run, but to me that's fine.

ungleich-gitea commented on issue ungleich-public/cdist#185 2021-11-20 15:46:42 +00:00
Only apply certain types?

Created by: asteven

I mainly need the tag based approach, but I see the use case for just running certain types. One open/unsolved question is how to handle dependencies. What if a tagged (or…