Configure hostname through cookbook