Forum: Cfengine Help Subject: Re: Howto make another pass if some important files gets updated Author: Metabaron Link to topic: https://cfengine.com/forum/read.php?3,18559,18582#msg-18582
Well... I think that is a good idea basicly in the best of worlds but sometimes things need to happen in a certain order. Just because it is a state description doesn't mean that is should be incomprehensable and/or hard to read. With CFE, simple promices becomes easy to read but the more complex ones becomes a mess that makes no sens. I have seen collegues solve some problems by just using a file promices to get a script in place and a command promise to execute it... and that is just ugly (or is this the intended way to do it?). If I should be able to think at the end state first then I should be able to write the promices as high level and then write library functions that dealt with the details about how to get there? But with CFE I can't think of any way how to do this. I I don't mean that I should use black magic to get there. I belive that CFE should benefit of a good jolt of pragmatic ideas, a more sane syntax and better documentation. -- Emil _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine