Fix ternary for nginx cookbook version

In order to properly include the http_realip_module, this commit fixes
the ternary results which were backwards.

[24882]
Merge pull request #30 from sqm/24882-allow-rubycas-to-use-old-and-new-versions-of-nginx-cookbook

#24882 - Fix ternary for nginx cookbook version