fix: package resource's options "-f --force-yes" break CentOS yum behavior

"-f --force-yes" are invalid options for yum command.

And I think "-f" (fix broken) and "--force-yes" are not need to apt-get too. If the options was needed, please use node['platform'] parameter.