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.…
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
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…
Created by: telmich
If I see it correctly, __postfix_master is a re-implementation of __block
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…
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…
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…
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…
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…
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…
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…
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…
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.
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…