apply hostname changes immediately rather than at the end of chef run (fixes #3)
Resolve conflicts when merging #10