Digant C Kasundra wrote: > I was wondering how you would address the following in Cfengine: > > * Undo last set of actions
cfengine does not support a general rollback operation. > * 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? Something like this maybe: copy: some_class:: /path/to/canonical/file dest=/etc/shells.desired ...other options... shellcommands: some_class:: "/usr/bin/diff /etc/shells /etc/shells.desired" Best, Brendan -- Senior System Administrator The University of Chicago Department of Computer Science http://www.cs.uchicago.edu/people/brendan http://praksys.blogspot.com/ _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org http://cfengine.org/mailman/listinfo/help-cfengine