Maybe change to use `platform_family` while you are at it.

Regarding support for different distros, see here https://github.com/phunehehe/chef-cookbooks/blob/master/amanda/recipes/server.rb#L17