if here is useless.

A case node['platform'] is better to set node['libreoffice']['repo'] to true or false