• Joined on 2021-11-20
ungleich-gitea commented on issue ungleich-public/cdist#227 2021-11-20 15:48:57 +00:00
Execute all global explorers only when needed

Created by: telmich

Interesting approach, but I am wondering which problem you are solving with this approach? Why can't all global explorers be executed always?

Btw, we have some thoughts about…

ungleich-gitea commented on issue ungleich-public/cdist#227 2021-11-20 15:48:56 +00:00
Execute all global explorers only when needed

Created by: dheule

Now we have no problem at all,,, i have only write down a idea which are on my mind ...

But if we extend the count of global explorers (some we already have developed), i…

ungleich-gitea commented on issue ungleich-public/cdist#227 2021-11-20 15:48:55 +00:00
Execute all global explorers only when needed

Created by: telmich

Hey Daniel,

point taken - we can laeve this open for some time as an idea (usually we have put them into docs/dev/logs/* but the issue tracker is probably not bad at all to…

ungleich-gitea commented on issue ungleich-public/cdist#226 2021-11-20 15:48:53 +00:00
FAIL: test_list_type_names (cdist.test.cdist_type.TypeTestCase)

Created by: telmich

You are right, it should be sorted!

dheule [Thu, Feb 06, 2014 at 12:02:10PM -0800]:

On my laptop this test sometimes fails, I think the test is for nothing, since it…

ungleich-gitea commented on issue ungleich-public/cdist#225 2021-11-20 15:48:52 +00:00
unittest for CDIST_ORDER_DEPENDENCY

Created by: dheule

Fixed with 3.0.8

ungleich-gitea commented on issue ungleich-public/cdist#224 2021-11-20 15:48:50 +00:00
tool for modifying conf/ini files

Created by: telmich

Not yet, but you are welcome to write one - I think it would be beneficial and could be accepted upstream.

ungleich-gitea commented on issue ungleich-public/cdist#224 2021-11-20 15:48:49 +00:00
tool for modifying conf/ini files

Created by: lloyd

ok, cool. I wonder if the __object_id should actually include the filename and property. If it did not, it would not be possible to change the same property in two files.

So…

ungleich-gitea commented on issue ungleich-public/cdist#224 2021-11-20 15:48:48 +00:00
tool for modifying conf/ini files

Created by: telmich

I'd definitely recommend against this syntax, as it enforces (pseudo) structure where it is not needed and can be ambiguous.

I would also recommend to take the object_id as a…

ungleich-gitea commented on issue ungleich-public/cdist#224 2021-11-20 15:48:46 +00:00
tool for modifying conf/ini files

Created by: lloyd

ok, I must have not understood quite how object_ids work.

I like the syntax you propose, and will try to craft something. Working draft of the implementation looks something…

ungleich-gitea commented on issue ungleich-public/cdist#224 2021-11-20 15:48:45 +00:00
tool for modifying conf/ini files

Created by: telmich

Lloyd,

a pointer that may help you: awk can do tracking of sections easily like this:

awk 'BEGIN { inside = 0 } /[sektion]/ { inside=1 } { if(inside)
print($0); }…
ungleich-gitea commented on issue ungleich-public/cdist#224 2021-11-20 15:48:44 +00:00
tool for modifying conf/ini files

Created by: lloyd

Interesting. I can look into making the implementation a bit more elegant/idiomatic. For now, I've gotten a [first version…

ungleich-gitea commented on issue ungleich-public/cdist#224 2021-11-20 15:48:42 +00:00
tool for modifying conf/ini files

Created by: lloyd

(if this looks acceptable as a first implementation, I'll write docs and open a pull request)

ungleich-gitea commented on issue ungleich-public/cdist#224 2021-11-20 15:48:41 +00:00
tool for modifying conf/ini files

Created by: telmich

I suggest nl instead of cat -n (-n is not posix) at first glance. I think there are some issues in your proposal, but it is actually hard to comment without a pull request.…

ungleich-gitea commented on issue ungleich-public/cdist#224 2021-11-20 15:48:40 +00:00
tool for modifying conf/ini files

Created by: toupeira

It would be worth looking into Augeas which provides automated editing of all sorts of configuration files, you could use augtool to implement a…

ungleich-gitea commented on issue ungleich-public/cdist#224 2021-11-20 15:48:39 +00:00
tool for modifying conf/ini files

closed

ungleich-gitea commented on issue ungleich-public/cdist#222 2021-11-20 15:48:36 +00:00
Marker .cdist is broken

Created by: telmich

Working on this at the moment -- @asteven - will submit PR today, maybe you can review it.

Background: I need to deploy hosts that can run cdist (as a server) with cloning…

ungleich-gitea commented on issue ungleich-public/cdist#222 2021-11-20 15:48:34 +00:00
Marker .cdist is broken

closed

ungleich-gitea commented on issue ungleich-public/cdist#221 2021-11-20 15:48:33 +00:00
Document execution method in the cache

closed