Foodcritic fixes:

FC003: Check whether you are running with chef server before using server-specific features: ./recipes/server.rb:32
FC023: Prefer conditional attributes: ./recipes/server.rb:24