ohmu / poni

poni - a systems configuration software
http://melor.github.com/poni/
Apache License 2.0
44 stars 18 forks source link

pseudo terminal & md5 based file checks #8

Closed lheiskan closed 12 years ago

lheiskan commented 12 years ago
melor commented 12 years ago

The pseudo-tty part is now rebased and merged. Thanks!

The md5 hashing I'm not so sure about, it works only on certain target platforms and the scenarios where it improves performance are limited. Files deployed from templates are most of the time rather small and it doesn't take much time to move them over. Large files (e.g. binaries) should be copied by using the add_dir(), which only check the file's modification timestamp and size.

lheiskan commented 12 years ago

sweet!

md5 hashing was actually related to (re-)deploying binary content. sounds like using add_dir() solves these issues.

docs would probably benefit from having a hint about deploying binary files. using add_dir() for this perhaps works, but seems a bit unintuitive.