Easily recreate a server's "state" [closed]

You can use the Blueprint tool to reverse-engineer a running server.

It can generate a Puppet module, a Chef cookbook or even a set of shell scripts to reproduce a system's configuration.