[COOK-3824] - Fixing up list construction in main.cf.erb

Signed-off-by: Sean OMeara <someara@opscode.com>
(cherry picked from commit 771aa2f6ff0dee5b9b2cd41e156f22f64132778b)
Signed-off-by: Christopher H. Laco <claco@chrislaco.com>