Details
Description
When used on redhat and fedora systems, route provider (Chef::Provider::Route) does not create configuration files. CentOS systems work as expected (route files created).
The issue is caused by an error in platform detection code which uses Ruby case operator incorrectly: https://github.com/kovyrin/chef/compare/route-provider-fix#L0L133
Patch fixing the issue and adding specs for it is available on github: https://github.com/kovyrin/chef/commit/759951e4189351cce4ff8df987c0320f7706aff2 (branch https://github.com/kovyrin/chef/tree/route-provider-fix).
The issue is fixed in https://github.com/kovyrin/chef/commit/759951e4189351cce4ff8df987c0320f7706aff2