cfengine lets you manage your network (including editing files
automatically), in an object-oriented manner.