Updated cookbook with master/slave support.