telmich/cdist — pull request #18 by phrawzty (2012-01-12 14:07:15+00:00)
Title: new types: __rsyncer and __iptables_restore

*__iptables_restore* :
This type is used to restore iptables from a previously saved state (eg. the output of `iptables-save`). It will compare the current output of `iptables-save` against that of the supplied file, and if the two do not match, it will restore from the saved file via `iptables-restore`.

*__rsyncer* :
This type is used to trigger rsync to copy files from the machine running cdist (source) to the target machine in question (destination). The likely usage is the rapid deployment of full directory trees, the cohorency of which can be guarunteed with the optional `--delete` argument, which will remove any files from the destination which are not present on the source.
This revision of *__rsyncer* contains modifications based on Nico Schottelius' earlier suggestions.