templatize the rack configuration for 3.x