Add hostname cookbook.