smaller code cleanup

Maybe write it the same as below for suse? ```if %w(ubuntu).include? node.platform```