Digant C Kasundra wrote:
Hello everyone,

We're evaluating different config management systems and procedures to develop and effective infrastructure at Stanford. I'm going through my list of requirements to show how various options might be able to do various things. I have read a little bit of the docs but since I have a lot more to read of various different products, I was hoping the list might get me quicker answers to the questions that have eluded me so far. I was wondering how you would address the following in Cfengine:

* Undo last set of actions

Not at present. Cfengine acts like a Markov process, to avoid using gratuitous memory. It notion of "convergence" is important here. To "roll back" you would normally replace your new cfengine config file with its previous version and cfengine will adjust back, but not "undo". Undo is rather ambiguous unless you snapshot the entire system (as Ed alluded to), since there can be unseen consequences of changes.

* Can Cfengine determine if a config file on a server is different than expected and report a diff? How would one go about getting this sort of behavior/functionality?


The question is sort of "I've already decided to think in Unix shell".
This is not the way cfengine works. You *could* simply do a diff as a shell command if you want, but the cfengine way is to ask whether the files satisfy certain properties "is there a line that looks like this"? "Are there any instances of string X when they should be Y". The emphasis is on fixing, but you can also warn about incorrect properties.

These questions are perhaps bigger than they seem, becuase cfengine is not just a bunch of shell scripts. It has a somewhat different way of thinking so that it can be "convergent".

--
Mark Burgess

Professor of Network and System Administration
Oslo University College

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  [EMAIL PROTECTED]
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
http://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to